Attempts to match the start of the string.
Namespace:
SingularSys.Jep.ConfigurableParser.MatchersNote new objects should be created each time as error reporting information is later attached to tokens.
Assembly: Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)
Syntax
| C# |
|---|
Token Match( string s ) |
| Visual Basic (Declaration) |
|---|
Function Match ( _ s As String _ ) As Token |
| Visual C++ |
|---|
Token^ Match( String^ s ) |
Parameters
- s
- Type: System..::.String
the string to match against
Return Value
if successful returns the corresponding token, return null if failed to match
Exceptions
| Exception | Condition |
|---|---|
| SingularSys.Jep..::.ParseException |