C# Class Parsley.TokenKind

显示文件 Open project: plioi/parsley Class Usage Examples

Public Properties

Property Type Description
EndOfInput TokenKind
Unknown TokenKind

Public Methods

Method Description
ToString ( ) : string
TryMatch ( Text text, Token &token ) : bool

Protected Methods

Method Description
Match ( Text text ) : MatchResult
TokenKind ( string name, bool skippable = false ) : System

Method Details

Match() protected abstract method

protected abstract Match ( Text text ) : MatchResult
text Text
return MatchResult

ToString() public method

public ToString ( ) : string
return string

TokenKind() protected method

protected TokenKind ( string name, bool skippable = false ) : System
name string
skippable bool
return System

TryMatch() public method

public TryMatch ( Text text, Token &token ) : bool
text Text
token Token
return bool

Property Details

EndOfInput public_oe static_oe property

public static TokenKind,Parsley EndOfInput
return TokenKind

Unknown public_oe static_oe property

public static TokenKind,Parsley Unknown
return TokenKind