메소드 | 설명 | |
---|---|---|
Lexer ( ) : System |
Initializes a new instance of the Lexer class.
|
|
Tokenize ( string function ) : IEnumerable |
Converts the string into a sequence of tokens.
|
메소드 | 설명 | |
---|---|---|
CountParams ( List |
Calculates the number of parametes of functions.
|
|
CreateConst ( string match, IList |
Creates the constant token from matched string.
|
|
CreateFunction ( string match, IList |
Creates the function token from matched string.
|
|
CreateOperations ( string match, IList |
Creates the operation token from matched string.
|
|
CreateSymbol ( string match, IList |
Creates the symbol token from matched string.
|
|
IsBalanced ( string str ) : bool |
Determines whether brackets in the specified string is balanced.
|
|
_CountParams ( List |
public Tokenize ( string function ) : IEnumerable |
||
function | string | The string that contains the functions and operators. |
리턴 | IEnumerable |