Class gmlBaseListener
This class provides an empty implementation of IgmlListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Gml
Assembly: Gml.dll
Syntax
public class gmlBaseListener : object, IgmlListener, 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.
EnterGraph(gmlParser.GraphContext)
Enter a parse tree produced by graph().
The default implementation does nothing.
Declaration
public virtual void EnterGraph(gmlParser.GraphContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.GraphContext | context | The parse tree. |
EnterInteger(gmlParser.IntegerContext)
Enter a parse tree produced by integer().
The default implementation does nothing.
Declaration
public virtual void EnterInteger(gmlParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.IntegerContext | context | The parse tree. |
EnterKey(gmlParser.KeyContext)
Enter a parse tree produced by key().
The default implementation does nothing.
Declaration
public virtual void EnterKey(gmlParser.KeyContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.KeyContext | context | The parse tree. |
EnterKv(gmlParser.KvContext)
Enter a parse tree produced by kv().
The default implementation does nothing.
Declaration
public virtual void EnterKv(gmlParser.KvContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.KvContext | context | The parse tree. |
EnterList_(gmlParser.List_Context)
Enter a parse tree produced by list_().
The default implementation does nothing.
Declaration
public virtual void EnterList_(gmlParser.List_Context context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.List_Context | context | The parse tree. |
EnterRealnum(gmlParser.RealnumContext)
Enter a parse tree produced by realnum().
The default implementation does nothing.
Declaration
public virtual void EnterRealnum(gmlParser.RealnumContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.RealnumContext | context | The parse tree. |
EnterStr_(gmlParser.Str_Context)
Enter a parse tree produced by str_().
The default implementation does nothing.
Declaration
public virtual void EnterStr_(gmlParser.Str_Context context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.Str_Context | context | The parse tree. |
EnterStringliteral(gmlParser.StringliteralContext)
Enter a parse tree produced by stringliteral().
The default implementation does nothing.
Declaration
public virtual void EnterStringliteral(gmlParser.StringliteralContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.StringliteralContext | context | The parse tree. |
EnterValue(gmlParser.ValueContext)
Enter a parse tree produced by value().
The default implementation does nothing.
Declaration
public virtual void EnterValue(gmlParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.ValueContext | 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.
ExitGraph(gmlParser.GraphContext)
Exit a parse tree produced by graph().
The default implementation does nothing.
Declaration
public virtual void ExitGraph(gmlParser.GraphContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.GraphContext | context | The parse tree. |
ExitInteger(gmlParser.IntegerContext)
Exit a parse tree produced by integer().
The default implementation does nothing.
Declaration
public virtual void ExitInteger(gmlParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.IntegerContext | context | The parse tree. |
ExitKey(gmlParser.KeyContext)
Exit a parse tree produced by key().
The default implementation does nothing.
Declaration
public virtual void ExitKey(gmlParser.KeyContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.KeyContext | context | The parse tree. |
ExitKv(gmlParser.KvContext)
Exit a parse tree produced by kv().
The default implementation does nothing.
Declaration
public virtual void ExitKv(gmlParser.KvContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.KvContext | context | The parse tree. |
ExitList_(gmlParser.List_Context)
Exit a parse tree produced by list_().
The default implementation does nothing.
Declaration
public virtual void ExitList_(gmlParser.List_Context context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.List_Context | context | The parse tree. |
ExitRealnum(gmlParser.RealnumContext)
Exit a parse tree produced by realnum().
The default implementation does nothing.
Declaration
public virtual void ExitRealnum(gmlParser.RealnumContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.RealnumContext | context | The parse tree. |
ExitStr_(gmlParser.Str_Context)
Exit a parse tree produced by str_().
The default implementation does nothing.
Declaration
public virtual void ExitStr_(gmlParser.Str_Context context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.Str_Context | context | The parse tree. |
ExitStringliteral(gmlParser.StringliteralContext)
Exit a parse tree produced by stringliteral().
The default implementation does nothing.
Declaration
public virtual void ExitStringliteral(gmlParser.StringliteralContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.StringliteralContext | context | The parse tree. |
ExitValue(gmlParser.ValueContext)
Exit a parse tree produced by value().
The default implementation does nothing.
Declaration
public virtual void ExitValue(gmlParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
gmlParser.ValueContext | 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.