In This Article

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

Name Type Description
state IParserState

A IParserState that provides information about the parser's current state.

Returns

Type Description
bool

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 object
method IntPtr

Methods

BeginInvoke(IParserState, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IParserState state, AsyncCallback callback, object @object)
Parameter Type Description
state IParserState
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)
Parameter Type Description
result IAsyncResult

Returns

bool

Invoke(IParserState)

public virtual bool Invoke(IParserState state)
Parameter Type Description
state IParserState

Returns

bool