IDebuggerState Interface
Provides the base requirements for an object that contains information about the current IDebugger state.
public interface IDebuggerState
Properties
Breakpoints
The collection of IBreakpoint objects.
Ebnf
The textual EBNF representation of the grammar.
IsBreakForCanMatch
Indicates whether the current pause is related to a can-match check for an EbnfTerm.
bool IsBreakForCanMatch { get; }
Property Value
- bool:
trueif the current pause is related to a can-match check; otherwise,false.
Matches
The list of IDebuggableAstNodeMatch objects that indicate the labeled AST node matches for the current scope.
NonTerminalStack
The stack of IDebuggableNonTerminal objects into which the parser has entered.
Stack<IDebuggableNonTerminal> NonTerminalStack { get; }
Property Value
NonTerminals
The read-only list of IDebuggableNonTerminal objects defined in the grammar.
ParseErrors
The collection of IParseError objects that will be returned in the IParseData parsing result.
RootNode
The root IDebuggableAstNode that has been constructed.
TermStack
The stack of IDebuggableEbnfTerm objects into which the parser has entered.
Terminals
The read-only list of IDebuggableTerminal objects defined in the grammar.
TokenReader
The ITokenReader that is used to read tokens during the parsing operation.
Methods
AddBreakpoint(IDebuggableSymbol)
Adds an IBreakpoint for an IDebuggableSymbol.
void AddBreakpoint(IDebuggableSymbol symbol)
| Parameter | Type | Description |
|---|---|---|
| symbol | IDebuggableSymbol | The IDebuggableSymbol for which a breakpoint should be created. |
RemoveBreakpoint(IDebuggableSymbol)
Removes an IBreakpoint for an IDebuggableSymbol.
void RemoveBreakpoint(IDebuggableSymbol symbol)
| Parameter | Type | Description |
|---|---|---|
| symbol | IDebuggableSymbol | The IDebuggableSymbol for which a breakpoint should be removed. |