C# Class IronLua.Compiler.Parser.Lexer

Afficher le fichier Open project: ericmj/IronLua Class Usage Examples

Méthodes publiques

Méthode Description
Consume ( ) : void
ConsumeLexeme ( ) : string
Expect ( Symbol symbol ) : void
ExpectLexeme ( Symbol symbol ) : string
Lexer ( Input input ) : System.Collections.Generic
TryConsume ( Symbol symbol ) : bool

Private Methods

Méthode Description
BufferExponent ( ) : void
BufferNumericEscape ( ) : void
CountEquals ( ) : int
IdentifierOrKeyword ( ) : Token
LongComment ( ) : void
LongPunctuation ( char c1 ) : Token
LongStringLiteral ( ) : Token
NextLine ( ) : void
NextToken ( ) : Token
NumericHexLiteral ( ) : Token
NumericLiteral ( ) : Token
Punctuation ( ) : Token
ShortComment ( ) : void
StringLiteral ( char end ) : Token

Method Details

Consume() public méthode

public Consume ( ) : void
Résultat void

ConsumeLexeme() public méthode

public ConsumeLexeme ( ) : string
Résultat string

Expect() public méthode

public Expect ( Symbol symbol ) : void
symbol Symbol
Résultat void

ExpectLexeme() public méthode

public ExpectLexeme ( Symbol symbol ) : string
symbol Symbol
Résultat string

Lexer() public méthode

public Lexer ( Input input ) : System.Collections.Generic
input Input
Résultat System.Collections.Generic

TryConsume() public méthode

public TryConsume ( Symbol symbol ) : bool
symbol Symbol
Résultat bool