Class wlnBaseListener
This class provides an empty implementation of IwlnListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Wln
Assembly: Wln.dll
Syntax
public class wlnBaseListener : object, IwlnListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterGroup(wlnParser.GroupContext)
Enter a parse tree produced by group().
The default implementation does nothing.
Declaration
public virtual void EnterGroup(wlnParser.GroupContext context)
Parameters
Type | Name | Description |
---|---|---|
wlnParser.GroupContext | context | The parse tree. |
EnterSymbol(wlnParser.SymbolContext)
Enter a parse tree produced by symbol().
The default implementation does nothing.
Declaration
public virtual void EnterSymbol(wlnParser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
wlnParser.SymbolContext | context | The parse tree. |
EnterWln(wlnParser.WlnContext)
Enter a parse tree produced by wln().
The default implementation does nothing.
Declaration
public virtual void EnterWln(wlnParser.WlnContext context)
Parameters
Type | Name | Description |
---|---|---|
wlnParser.WlnContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitGroup(wlnParser.GroupContext)
Exit a parse tree produced by group().
The default implementation does nothing.
Declaration
public virtual void ExitGroup(wlnParser.GroupContext context)
Parameters
Type | Name | Description |
---|---|---|
wlnParser.GroupContext | context | The parse tree. |
ExitSymbol(wlnParser.SymbolContext)
Exit a parse tree produced by symbol().
The default implementation does nothing.
Declaration
public virtual void ExitSymbol(wlnParser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
wlnParser.SymbolContext | context | The parse tree. |
ExitWln(wlnParser.WlnContext)
Exit a parse tree produced by wln().
The default implementation does nothing.
Declaration
public virtual void ExitWln(wlnParser.WlnContext context)
Parameters
Type | Name | Description |
---|---|---|
wlnParser.WlnContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.