C# 클래스 Antlr4.StringTemplate.Compiler.TemplateLexer

상속: ITokenSource
파일 보기 프로젝트 열기: antlr/antlrcs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SkipToken IToken
subtemplateDepth int

공개 메소드들

메소드 설명
Emit ( IToken token ) : void
IsIDLetter ( char c ) : bool
IsIDStartLetter ( char c ) : bool
IsUnicodeLetter ( char c ) : bool
IsWS ( char c ) : bool
Match ( char x ) : void
NewToken ( int ttype ) : IToken
NewToken ( int ttype, string text ) : IToken
NewToken ( int ttype, string text, int pos ) : IToken
NewTokenFromPreviousChar ( int ttype ) : IToken
NextToken ( ) : IToken
NextTokenImpl ( ) : IToken
TemplateLexer ( Antlr4.StringTemplate.Misc.ErrorManager errMgr, ICharStream input, IToken templateToken ) : System.Collections.Generic
TemplateLexer ( Antlr4.StringTemplate.Misc.ErrorManager errMgr, ICharStream input, IToken templateToken, char delimiterStartChar, char delimiterStopChar ) : System.Collections.Generic
TemplateLexer ( ICharStream input ) : System.Collections.Generic

보호된 메소드들

메소드 설명
Consume ( ) : void
NextTokenInside ( ) : IToken
NextTokenOutside ( ) : IToken

비공개 메소드들

메소드 설명
ConsumeLineBreak ( ) : void
ConsumeWhitespace ( ) : void
GetCharString ( char c ) : string
MatchComment ( ) : IToken
MatchEscape ( ) : IToken
MatchIdentifier ( ) : IToken
MatchString ( ) : IToken
MatchSubTemplate ( ) : IToken
MatchText ( ) : IToken
MatchUnicode ( ) : IToken

메소드 상세

Consume() 보호된 메소드

protected Consume ( ) : void
리턴 void

Emit() 공개 메소드

public Emit ( IToken token ) : void
token IToken
리턴 void

IsIDLetter() 공개 정적인 메소드

public static IsIDLetter ( char c ) : bool
c char
리턴 bool

IsIDStartLetter() 공개 정적인 메소드

public static IsIDStartLetter ( char c ) : bool
c char
리턴 bool

IsUnicodeLetter() 공개 정적인 메소드

public static IsUnicodeLetter ( char c ) : bool
c char
리턴 bool

IsWS() 공개 정적인 메소드

public static IsWS ( char c ) : bool
c char
리턴 bool

Match() 공개 메소드

public Match ( char x ) : void
x char
리턴 void

NewToken() 공개 메소드

public NewToken ( int ttype ) : IToken
ttype int
리턴 IToken

NewToken() 공개 메소드

public NewToken ( int ttype, string text ) : IToken
ttype int
text string
리턴 IToken

NewToken() 공개 메소드

public NewToken ( int ttype, string text, int pos ) : IToken
ttype int
text string
pos int
리턴 IToken

NewTokenFromPreviousChar() 공개 메소드

public NewTokenFromPreviousChar ( int ttype ) : IToken
ttype int
리턴 IToken

NextToken() 공개 메소드

public NextToken ( ) : IToken
리턴 IToken

NextTokenImpl() 공개 메소드

public NextTokenImpl ( ) : IToken
리턴 IToken

NextTokenInside() 보호된 메소드

protected NextTokenInside ( ) : IToken
리턴 IToken

NextTokenOutside() 보호된 메소드

protected NextTokenOutside ( ) : IToken
리턴 IToken

TemplateLexer() 공개 메소드

public TemplateLexer ( Antlr4.StringTemplate.Misc.ErrorManager errMgr, ICharStream input, IToken templateToken ) : System.Collections.Generic
errMgr Antlr4.StringTemplate.Misc.ErrorManager
input ICharStream
templateToken IToken
리턴 System.Collections.Generic

TemplateLexer() 공개 메소드

public TemplateLexer ( Antlr4.StringTemplate.Misc.ErrorManager errMgr, ICharStream input, IToken templateToken, char delimiterStartChar, char delimiterStopChar ) : System.Collections.Generic
errMgr Antlr4.StringTemplate.Misc.ErrorManager
input ICharStream
templateToken IToken
delimiterStartChar char
delimiterStopChar char
리턴 System.Collections.Generic

TemplateLexer() 공개 메소드

public TemplateLexer ( ICharStream input ) : System.Collections.Generic
input ICharStream
리턴 System.Collections.Generic

프로퍼티 상세

SkipToken 공개적으로 정적으로 프로퍼티

public static IToken SkipToken
리턴 IToken

subtemplateDepth 공개적으로 프로퍼티

public int subtemplateDepth
리턴 int