ParserCanMatchCallback Delegate
Defines a can-match callback method that can be executed during a parsing operation for a NonTerminal.
public delegate bool ParserCanMatchCallback(IParserState state);
Parameters
Returns
Type |
Description |
System.Boolean |
true if the NonTerminal can match with the current state; otherwise, false .
|
Constructors
ParserCanMatchCallback(Object, IntPtr)
public ParserCanMatchCallback(object object, IntPtr method)
Parameter |
Type |
Description |
object |
System.Object |
|
method |
IntPtr |
|
Methods
BeginInvoke(IParserState, AsyncCallback, Object)
public virtual IAsyncResult BeginInvoke(IParserState state, AsyncCallback callback, object object)
Parameter |
Type |
Description |
state |
IParserState |
|
callback |
System.AsyncCallback |
|
object |
System.Object |
|
Returns
- System.IAsyncResult
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Parameter |
Type |
Description |
result |
System.IAsyncResult |
|
Returns
- System.Boolean
Invoke(IParserState)
public virtual bool Invoke(IParserState state)
Returns
- System.Boolean