C# 클래스 IronLua.Compiler.Parser.Lexer

파일 보기 프로젝트 열기: ericmj/IronLua 1 사용 예제들

공개 메소드들

메소드 설명
Consume ( ) : void
ConsumeLexeme ( ) : string
Expect ( Symbol symbol ) : void
ExpectLexeme ( Symbol symbol ) : string
Lexer ( Input input ) : System.Collections.Generic
TryConsume ( Symbol symbol ) : bool

비공개 메소드들

메소드 설명
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

메소드 상세

Consume() 공개 메소드

public Consume ( ) : void
리턴 void

ConsumeLexeme() 공개 메소드

public ConsumeLexeme ( ) : string
리턴 string

Expect() 공개 메소드

public Expect ( Symbol symbol ) : void
symbol Symbol
리턴 void

ExpectLexeme() 공개 메소드

public ExpectLexeme ( Symbol symbol ) : string
symbol Symbol
리턴 string

Lexer() 공개 메소드

public Lexer ( Input input ) : System.Collections.Generic
input Input
리턴 System.Collections.Generic

TryConsume() 공개 메소드

public TryConsume ( Symbol symbol ) : bool
symbol Symbol
리턴 bool