C# Class MBUtilities.Calc.CalcUtilities

Datei anzeigen Open project: MatthewCox/MoronBot Class Usage Examples

Public Methods

Method Description
CreateNumberConstantToken ( string numberString ) : Token
CreateOperatorToken ( char op ) : Token
InfixToPostfix ( Expression inputExpression, Expression &postfixExpression ) : bool
IsArithmeticExpression ( Expression expression ) : bool
IsArithmeticOperator ( Token token ) : bool
IsCloseParenthesis ( Token token ) : bool
IsOpenParenthesis ( Token token ) : bool

Method Details

CreateNumberConstantToken() public static method

public static CreateNumberConstantToken ( string numberString ) : Token
numberString string
return Token

CreateOperatorToken() public static method

public static CreateOperatorToken ( char op ) : Token
op char
return Token

InfixToPostfix() public static method

public static InfixToPostfix ( Expression inputExpression, Expression &postfixExpression ) : bool
inputExpression Expression
postfixExpression Expression
return bool

IsArithmeticExpression() public static method

public static IsArithmeticExpression ( Expression expression ) : bool
expression Expression
return bool

IsArithmeticOperator() public static method

public static IsArithmeticOperator ( Token token ) : bool
token Token
return bool

IsCloseParenthesis() public static method

public static IsCloseParenthesis ( Token token ) : bool
token Token
return bool

IsOpenParenthesis() public static method

public static IsOpenParenthesis ( Token token ) : bool
token Token
return bool