C# Class Boo.Lang.Parser.WSABooParser

With this parser indentation is not used as a block delimiter but COLON end. class Foo: def foo(): print 'Hello' end end
Inheritance: BooParserBase
Afficher le fichier Open project: boo/boo-lang Class Usage Examples

Protected Properties

Свойство Type Description
Error Boo.Lang.Parser.ParserErrorHandler

Méthodes publiques

Méthode Description
CreateBooLexer ( int tabSize, string readerName, TextReader reader ) : antlr.TokenStream
CreateParser ( int tabSize, string readerName, TextReader reader, Boo errorHandler ) : WSABooParser
ParseModule ( int tabSize, Boo.Lang.Compiler.Ast.CompileUnit cu, string readerName, TextReader reader, Boo errorHandler ) : Module
WSABooParser ( antlr lexer ) : System
reportError ( antlr x ) : void

Method Details

CreateBooLexer() public static méthode

public static CreateBooLexer ( int tabSize, string readerName, TextReader reader ) : antlr.TokenStream
tabSize int
readerName string
reader TextReader
Résultat antlr.TokenStream

CreateParser() public static méthode

public static CreateParser ( int tabSize, string readerName, TextReader reader, Boo errorHandler ) : WSABooParser
tabSize int
readerName string
reader TextReader
errorHandler Boo
Résultat WSABooParser

ParseModule() public static méthode

public static ParseModule ( int tabSize, Boo.Lang.Compiler.Ast.CompileUnit cu, string readerName, TextReader reader, Boo errorHandler ) : Module
tabSize int
cu Boo.Lang.Compiler.Ast.CompileUnit
readerName string
reader TextReader
errorHandler Boo
Résultat Boo.Lang.Compiler.Ast.Module

WSABooParser() public méthode

public WSABooParser ( antlr lexer ) : System
lexer antlr
Résultat System

reportError() public méthode

public reportError ( antlr x ) : void
x antlr
Résultat void

Property Details

Error protected_oe property

protected Boo.Lang.Parser.ParserErrorHandler Error
Résultat Boo.Lang.Parser.ParserErrorHandler