Show / Hide Table of Contents

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
System.Object
gmlBaseListener
Implements
IgmlListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Gml
Assembly: Gml.dll
Syntax
public class gmlBaseListener : object, IgmlListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterEveryRule(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IgmlListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX