Show / Hide Table of Contents

Class metricBaseListener

This class provides an empty implementation of ImetricListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
metricBaseListener
Implements
ImetricListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Metric
Assembly: Metric.dll
Syntax
public class metricBaseListener : object, ImetricListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterBaseunit(metricParser.BaseunitContext)

Enter a parse tree produced by baseunit().

The default implementation does nothing.

Declaration
public virtual void EnterBaseunit(metricParser.BaseunitContext context)
Parameters
Type Name Description
metricParser.BaseunitContext context

The parse tree.

| Improve this Doc View Source

EnterDerivedunit(metricParser.DerivedunitContext)

Enter a parse tree produced by derivedunit().

The default implementation does nothing.

Declaration
public virtual void EnterDerivedunit(metricParser.DerivedunitContext context)
Parameters
Type Name Description
metricParser.DerivedunitContext context

The parse tree.

| 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

EnterExponent(metricParser.ExponentContext)

Enter a parse tree produced by exponent().

The default implementation does nothing.

Declaration
public virtual void EnterExponent(metricParser.ExponentContext context)
Parameters
Type Name Description
metricParser.ExponentContext context

The parse tree.

| Improve this Doc View Source

EnterMeasure(metricParser.MeasureContext)

Enter a parse tree produced by measure().

The default implementation does nothing.

Declaration
public virtual void EnterMeasure(metricParser.MeasureContext context)
Parameters
Type Name Description
metricParser.MeasureContext context

The parse tree.

| Improve this Doc View Source

EnterPrefix_(metricParser.Prefix_Context)

Enter a parse tree produced by prefix_().

The default implementation does nothing.

Declaration
public virtual void EnterPrefix_(metricParser.Prefix_Context context)
Parameters
Type Name Description
metricParser.Prefix_Context context

The parse tree.

| Improve this Doc View Source

EnterUnit(metricParser.UnitContext)

Enter a parse tree produced by unit().

The default implementation does nothing.

Declaration
public virtual void EnterUnit(metricParser.UnitContext context)
Parameters
Type Name Description
metricParser.UnitContext context

The parse tree.

| Improve this Doc View Source

EnterUom(metricParser.UomContext)

Enter a parse tree produced by uom().

The default implementation does nothing.

Declaration
public virtual void EnterUom(metricParser.UomContext context)
Parameters
Type Name Description
metricParser.UomContext context

The parse tree.

| Improve this Doc View Source

ExitBaseunit(metricParser.BaseunitContext)

Exit a parse tree produced by baseunit().

The default implementation does nothing.

Declaration
public virtual void ExitBaseunit(metricParser.BaseunitContext context)
Parameters
Type Name Description
metricParser.BaseunitContext context

The parse tree.

| Improve this Doc View Source

ExitDerivedunit(metricParser.DerivedunitContext)

Exit a parse tree produced by derivedunit().

The default implementation does nothing.

Declaration
public virtual void ExitDerivedunit(metricParser.DerivedunitContext context)
Parameters
Type Name Description
metricParser.DerivedunitContext 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

ExitExponent(metricParser.ExponentContext)

Exit a parse tree produced by exponent().

The default implementation does nothing.

Declaration
public virtual void ExitExponent(metricParser.ExponentContext context)
Parameters
Type Name Description
metricParser.ExponentContext context

The parse tree.

| Improve this Doc View Source

ExitMeasure(metricParser.MeasureContext)

Exit a parse tree produced by measure().

The default implementation does nothing.

Declaration
public virtual void ExitMeasure(metricParser.MeasureContext context)
Parameters
Type Name Description
metricParser.MeasureContext context

The parse tree.

| Improve this Doc View Source

ExitPrefix_(metricParser.Prefix_Context)

Exit a parse tree produced by prefix_().

The default implementation does nothing.

Declaration
public virtual void ExitPrefix_(metricParser.Prefix_Context context)
Parameters
Type Name Description
metricParser.Prefix_Context context

The parse tree.

| Improve this Doc View Source

ExitUnit(metricParser.UnitContext)

Exit a parse tree produced by unit().

The default implementation does nothing.

Declaration
public virtual void ExitUnit(metricParser.UnitContext context)
Parameters
Type Name Description
metricParser.UnitContext context

The parse tree.

| Improve this Doc View Source

ExitUom(metricParser.UomContext)

Exit a parse tree produced by uom().

The default implementation does nothing.

Declaration
public virtual void ExitUom(metricParser.UomContext context)
Parameters
Type Name Description
metricParser.UomContext 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

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