Documentation ¶ Index ¶ func ParseUnit(filename string, input string, diagMode bool, errLogger errlogger.ErrLogger) (*ast.Unit, error) type Prologue func ParsePrologue(filename string, input string, diagMode bool, errLogger errlogger.ErrLogger) (*Prologue, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ParseUnit ¶ added in v0.2.0 func ParseUnit(filename string, input string, diagMode bool, errLogger errlogger.ErrLogger) (*ast.Unit, error) Types ¶ type Prologue ¶ added in v0.3.0 type Prologue struct { Meta ast.ASTs Imports ast.ASTs } Prologue contains a unit's Meta and Imports. It is not an AST, which is why it is declared in the parser package. func ParsePrologue ¶ added in v0.4.0 func ParsePrologue(filename string, input string, diagMode bool, errLogger errlogger.ErrLogger) (*Prologue, error) Source Files ¶ View all Source files augmented_lexer.go error_listener.go exec_arg_maker.go listener.go parser.go prologue.go strings.go Directories ¶ Show internal Expand all Path Synopsis parser Click to show internal directories. Click to hide internal directories.