C# Class Bike.Parser.Lexer

Afficher le fichier Open project: buunguyen/bike Class Usage Examples

Méthodes publiques

Méthode Description
Lexer ( string source, string filePath = null ) : System
NextToken ( ) : Token

Private Methods

Méthode Description
Ampersand ( ) : Token

&&, &&=

Bang ( ) : Token
Comment ( ) : void
Equal ( ) : Token
Error ( string msg ) : Exception
Escape ( ) : char
GreaterThan ( ) : Token
Identifier ( ) : Token
LessThan ( ) : Token
Match ( char expectedChar ) : void
Minus ( ) : Token
Next ( ) : void
Number ( ) : Token
Peek ( int ahead = 1 ) : int
Percent ( ) : Token
Pipe ( ) : Token
Plus ( ) : Token
Slash ( ) : Token
Star ( ) : Token
String ( ) : Token
Token ( TokenType type, string txt ) : Token
Whitespace ( ) : void

Method Details

Lexer() public méthode

public Lexer ( string source, string filePath = null ) : System
source string
filePath string
Résultat System

NextToken() public méthode

public NextToken ( ) : Token
Résultat Token