C# 클래스 ComponentFactory.Quicksilver.Binding.Tokeniser

Converts a string into a list of lexical tokens.
파일 보기 프로젝트 열기: ComponentFactory/Quicksilver 1 사용 예제들

공개 메소드들

메소드 설명
Next ( ) : Token

Gets the next token and removes it.

Next ( TokenType type ) : bool

If the next token matchs the requested type then just eat it.

Tokeniser ( string input, System.Language language ) : System

Initialize a new instance of the Tokeniser class.

비공개 메소드들

메소드 설명
NextCharOrStringLiteral ( char chars, int &index, bool escaped ) : Token
NextHexLiteral ( char chars, int start, int &index ) : Token
NextIdentifier ( char chars, int &index ) : Token
NextIntegerLiteral ( char chars, int start, int &index, int numberBase ) : Token
NextIntegerLiteralCS ( char chars, int start, int &index, int numberBase ) : Token
NextIntegerLiteralVB ( char chars, int start, int &index, int numberBase ) : Token
NextNumberCodedLiteralVB ( char chars, int &index, int numberBase ) : Token
NextNumberLiteral ( char chars, int &index ) : Token
NextRealLiteral ( char chars, int start, int &index ) : Token
NextToken ( char chars, int &index ) : Token
Tokeniser ( ) : System

메소드 상세

Next() 공개 메소드

Gets the next token and removes it.
public Next ( ) : Token
리턴 Token

Next() 공개 메소드

If the next token matchs the requested type then just eat it.
public Next ( TokenType type ) : bool
type TokenType Type to eat if found.
리턴 bool

Tokeniser() 공개 메소드

Initialize a new instance of the Tokeniser class.
public Tokeniser ( string input, System.Language language ) : System
input string String to convert into a series of tokens.
language System.Language Language used for parsing.
리턴 System