C# Class Arithmetica.Tokenization.Token

ファイルを表示 Open project: patriksvensson/arithmetica Class Usage Examples

Public Methods

Method Description
GetArithmeticOperator ( ) : ArithmeticOperator
GetPrecedence ( ) : int
IsLeftAssociative ( ) : bool
IsOperand ( ) : bool
IsOperator ( ) : bool
Token ( TokenType type, object value ) : System

Method Details

GetArithmeticOperator() public method

public GetArithmeticOperator ( ) : ArithmeticOperator
return ArithmeticOperator

GetPrecedence() public method

public GetPrecedence ( ) : int
return int

IsLeftAssociative() public method

public IsLeftAssociative ( ) : bool
return bool

IsOperand() public method

public IsOperand ( ) : bool
return bool

IsOperator() public method

public IsOperator ( ) : bool
return bool

Token() public method

public Token ( TokenType type, object value ) : System
type TokenType
value object
return System