Documentation

JTL

LKParser <NSObject>

AuthorsGenerated by builder
Declared inLKCompiler.h

Overview

All languages must use a parser conforming to this protocol.


Default

- (LKModule *) parseString: (NSString *)source

Returns a module AST constructed by parsing the specified source. The result is nil if parsing failed.

    - (LKMethod *) parseMethod: (NSString *)source

    Returns a method AST constructed by parsing the specified source, or nil if parsing failed or method parsing is not supported by this language.