momiji

m68k emulator infrastructure

About Source code

Table of contents

momiji::parse

Defined in header <momiji/Parser.h>

Parses an m68k source code

UNSTABLE ABI

momiji::ParsingResult parse(const std::string& str) (1)
momiji::ParsingResult parse(const std::string& str, ParserSettings settings) (2)
  1. Parameters:
    • const std::string& str : The source code to parse
    Returns: A result type representing either the parsed code or an error
  2. Parameters:
    • const std::string& str : The source code to parse
    • ParserSettings settings : The settings for the parser
    Returns: A result type representing either the parsed code or an error