Attempts to match the start of the string.

Note new objects should be created each time as error reporting information is later attached to tokens.

Namespace:  SingularSys.Jep.ConfigurableParser.Matchers
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

See Also