C# Class BF2Statistics.MedalData.Token

Inheritance: ISourcePart
Afficher le fichier Open project: BF2Statistics/ControlCenter

Méthodes publiques

Méthode Description
AsTokens ( ) : BF2Statistics.MedalData.Token[]
Create ( TokenType kind, Match match, int index ) : Token

Creates a new Token

Create ( TokenType kind, string value, int position ) : Token

Creates a new Token

TypeToString ( TokenType Kind ) : string

Method Details

AsTokens() public méthode

public AsTokens ( ) : BF2Statistics.MedalData.Token[]
Résultat BF2Statistics.MedalData.Token[]

Create() public static méthode

Creates a new Token
public static Create ( TokenType kind, Match match, int index ) : Token
kind TokenType The kind (name) of the token
match System.Text.RegularExpressions.Match The Match the token is to be generated from
index int The offset from the beginning of the file the index of the match is relative to
Résultat Token

Create() public static méthode

Creates a new Token
public static Create ( TokenType kind, string value, int position ) : Token
kind TokenType The kind (name) of the token
value string The value to assign to the token
position int The absolute position in the source file the value is located at
Résultat Token

TypeToString() public static méthode

public static TypeToString ( TokenType Kind ) : string
Kind TokenType
Résultat string