C# Class AK.ValidityChecker

Show file Open project: akuukka/ExpressionSolver Class Usage Examples

Public Methods

Method Description
CheckNamesAndConstants ( string s ) : string
CheckValidity ( string expression ) : void
IsValidNameOrConstant ( string s ) : bool

Private Methods

Method Description
CanBeBeginOfRValue ( char c ) : bool
CanPrecede ( char l, char r ) : bool
ThrowSyntaxErrorAt ( string expression, int index ) : void

Method Details

CheckNamesAndConstants() public static method

public static CheckNamesAndConstants ( string s ) : string
s string
return string

CheckValidity() public static method

public static CheckValidity ( string expression ) : void
expression string
return void

IsValidNameOrConstant() public static method

public static IsValidNameOrConstant ( string s ) : bool
s string
return bool