Class tomlBaseListener
This class provides an empty implementation of ItomlListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Toml
Assembly: Toml.dll
Syntax
public class tomlBaseListener : object, ItomlListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterArray_(tomlParser.Array_Context)
Enter a parse tree produced by array_().
The default implementation does nothing.
Declaration
public virtual void EnterArray_(tomlParser.Array_Context context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Array_Context | context | The parse tree. |
EnterArray_table(tomlParser.Array_tableContext)
Enter a parse tree produced by array_table().
The default implementation does nothing.
Declaration
public virtual void EnterArray_table(tomlParser.Array_tableContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Array_tableContext | context | The parse tree. |
EnterArray_values(tomlParser.Array_valuesContext)
Enter a parse tree produced by array_values().
The default implementation does nothing.
Declaration
public virtual void EnterArray_values(tomlParser.Array_valuesContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Array_valuesContext | context | The parse tree. |
EnterBool_(tomlParser.Bool_Context)
Enter a parse tree produced by bool_().
The default implementation does nothing.
Declaration
public virtual void EnterBool_(tomlParser.Bool_Context context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Bool_Context | context | The parse tree. |
EnterComment(tomlParser.CommentContext)
Enter a parse tree produced by comment().
The default implementation does nothing.
Declaration
public virtual void EnterComment(tomlParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.CommentContext | context | The parse tree. |
EnterComment_or_nl(tomlParser.Comment_or_nlContext)
Enter a parse tree produced by comment_or_nl().
The default implementation does nothing.
Declaration
public virtual void EnterComment_or_nl(tomlParser.Comment_or_nlContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Comment_or_nlContext | context | The parse tree. |
EnterDate_time(tomlParser.Date_timeContext)
Enter a parse tree produced by date_time().
The default implementation does nothing.
Declaration
public virtual void EnterDate_time(tomlParser.Date_timeContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Date_timeContext | context | The parse tree. |
EnterDocument(tomlParser.DocumentContext)
Enter a parse tree produced by document().
The default implementation does nothing.
Declaration
public virtual void EnterDocument(tomlParser.DocumentContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.DocumentContext | context | The parse tree. |
EnterDotted_key(tomlParser.Dotted_keyContext)
Enter a parse tree produced by dotted_key().
The default implementation does nothing.
Declaration
public virtual void EnterDotted_key(tomlParser.Dotted_keyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Dotted_keyContext | context | The parse tree. |
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.
EnterExpression(tomlParser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression(tomlParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.ExpressionContext | context | The parse tree. |
EnterFloating_point(tomlParser.Floating_pointContext)
Enter a parse tree produced by floating_point().
The default implementation does nothing.
Declaration
public virtual void EnterFloating_point(tomlParser.Floating_pointContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Floating_pointContext | context | The parse tree. |
EnterInline_table(tomlParser.Inline_tableContext)
Enter a parse tree produced by inline_table().
The default implementation does nothing.
Declaration
public virtual void EnterInline_table(tomlParser.Inline_tableContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Inline_tableContext | context | The parse tree. |
EnterInline_table_keyvals(tomlParser.Inline_table_keyvalsContext)
Enter a parse tree produced by inline_table_keyvals().
The default implementation does nothing.
Declaration
public virtual void EnterInline_table_keyvals(tomlParser.Inline_table_keyvalsContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Inline_table_keyvalsContext | context | The parse tree. |
EnterInline_table_keyvals_non_empty(tomlParser.Inline_table_keyvals_non_emptyContext)
Enter a parse tree produced by inline_table_keyvals_non_empty().
The default implementation does nothing.
Declaration
public virtual void EnterInline_table_keyvals_non_empty(tomlParser.Inline_table_keyvals_non_emptyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Inline_table_keyvals_non_emptyContext | context | The parse tree. |
EnterInteger(tomlParser.IntegerContext)
Enter a parse tree produced by integer().
The default implementation does nothing.
Declaration
public virtual void EnterInteger(tomlParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.IntegerContext | context | The parse tree. |
EnterKey(tomlParser.KeyContext)
Enter a parse tree produced by key().
The default implementation does nothing.
Declaration
public virtual void EnterKey(tomlParser.KeyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.KeyContext | context | The parse tree. |
EnterKey_value(tomlParser.Key_valueContext)
Enter a parse tree produced by key_value().
The default implementation does nothing.
Declaration
public virtual void EnterKey_value(tomlParser.Key_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Key_valueContext | context | The parse tree. |
EnterNl_or_comment(tomlParser.Nl_or_commentContext)
Enter a parse tree produced by nl_or_comment().
The default implementation does nothing.
Declaration
public virtual void EnterNl_or_comment(tomlParser.Nl_or_commentContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Nl_or_commentContext | context | The parse tree. |
EnterQuoted_key(tomlParser.Quoted_keyContext)
Enter a parse tree produced by quoted_key().
The default implementation does nothing.
Declaration
public virtual void EnterQuoted_key(tomlParser.Quoted_keyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Quoted_keyContext | context | The parse tree. |
EnterSimple_key(tomlParser.Simple_keyContext)
Enter a parse tree produced by simple_key().
The default implementation does nothing.
Declaration
public virtual void EnterSimple_key(tomlParser.Simple_keyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Simple_keyContext | context | The parse tree. |
EnterStandard_table(tomlParser.Standard_tableContext)
Enter a parse tree produced by standard_table().
The default implementation does nothing.
Declaration
public virtual void EnterStandard_table(tomlParser.Standard_tableContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Standard_tableContext | context | The parse tree. |
EnterString(tomlParser.StringContext)
Enter a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void EnterString(tomlParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.StringContext | context | The parse tree. |
EnterTable(tomlParser.TableContext)
Enter a parse tree produced by table().
The default implementation does nothing.
Declaration
public virtual void EnterTable(tomlParser.TableContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.TableContext | context | The parse tree. |
EnterUnquoted_key(tomlParser.Unquoted_keyContext)
Enter a parse tree produced by unquoted_key().
The default implementation does nothing.
Declaration
public virtual void EnterUnquoted_key(tomlParser.Unquoted_keyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Unquoted_keyContext | context | The parse tree. |
EnterValue(tomlParser.ValueContext)
Enter a parse tree produced by value().
The default implementation does nothing.
Declaration
public virtual void EnterValue(tomlParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.ValueContext | context | The parse tree. |
ExitArray_(tomlParser.Array_Context)
Exit a parse tree produced by array_().
The default implementation does nothing.
Declaration
public virtual void ExitArray_(tomlParser.Array_Context context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Array_Context | context | The parse tree. |
ExitArray_table(tomlParser.Array_tableContext)
Exit a parse tree produced by array_table().
The default implementation does nothing.
Declaration
public virtual void ExitArray_table(tomlParser.Array_tableContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Array_tableContext | context | The parse tree. |
ExitArray_values(tomlParser.Array_valuesContext)
Exit a parse tree produced by array_values().
The default implementation does nothing.
Declaration
public virtual void ExitArray_values(tomlParser.Array_valuesContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Array_valuesContext | context | The parse tree. |
ExitBool_(tomlParser.Bool_Context)
Exit a parse tree produced by bool_().
The default implementation does nothing.
Declaration
public virtual void ExitBool_(tomlParser.Bool_Context context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Bool_Context | context | The parse tree. |
ExitComment(tomlParser.CommentContext)
Exit a parse tree produced by comment().
The default implementation does nothing.
Declaration
public virtual void ExitComment(tomlParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.CommentContext | context | The parse tree. |
ExitComment_or_nl(tomlParser.Comment_or_nlContext)
Exit a parse tree produced by comment_or_nl().
The default implementation does nothing.
Declaration
public virtual void ExitComment_or_nl(tomlParser.Comment_or_nlContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Comment_or_nlContext | context | The parse tree. |
ExitDate_time(tomlParser.Date_timeContext)
Exit a parse tree produced by date_time().
The default implementation does nothing.
Declaration
public virtual void ExitDate_time(tomlParser.Date_timeContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Date_timeContext | context | The parse tree. |
ExitDocument(tomlParser.DocumentContext)
Exit a parse tree produced by document().
The default implementation does nothing.
Declaration
public virtual void ExitDocument(tomlParser.DocumentContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.DocumentContext | context | The parse tree. |
ExitDotted_key(tomlParser.Dotted_keyContext)
Exit a parse tree produced by dotted_key().
The default implementation does nothing.
Declaration
public virtual void ExitDotted_key(tomlParser.Dotted_keyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Dotted_keyContext | 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.
ExitExpression(tomlParser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression(tomlParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.ExpressionContext | context | The parse tree. |
ExitFloating_point(tomlParser.Floating_pointContext)
Exit a parse tree produced by floating_point().
The default implementation does nothing.
Declaration
public virtual void ExitFloating_point(tomlParser.Floating_pointContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Floating_pointContext | context | The parse tree. |
ExitInline_table(tomlParser.Inline_tableContext)
Exit a parse tree produced by inline_table().
The default implementation does nothing.
Declaration
public virtual void ExitInline_table(tomlParser.Inline_tableContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Inline_tableContext | context | The parse tree. |
ExitInline_table_keyvals(tomlParser.Inline_table_keyvalsContext)
Exit a parse tree produced by inline_table_keyvals().
The default implementation does nothing.
Declaration
public virtual void ExitInline_table_keyvals(tomlParser.Inline_table_keyvalsContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Inline_table_keyvalsContext | context | The parse tree. |
ExitInline_table_keyvals_non_empty(tomlParser.Inline_table_keyvals_non_emptyContext)
Exit a parse tree produced by inline_table_keyvals_non_empty().
The default implementation does nothing.
Declaration
public virtual void ExitInline_table_keyvals_non_empty(tomlParser.Inline_table_keyvals_non_emptyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Inline_table_keyvals_non_emptyContext | context | The parse tree. |
ExitInteger(tomlParser.IntegerContext)
Exit a parse tree produced by integer().
The default implementation does nothing.
Declaration
public virtual void ExitInteger(tomlParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.IntegerContext | context | The parse tree. |
ExitKey(tomlParser.KeyContext)
Exit a parse tree produced by key().
The default implementation does nothing.
Declaration
public virtual void ExitKey(tomlParser.KeyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.KeyContext | context | The parse tree. |
ExitKey_value(tomlParser.Key_valueContext)
Exit a parse tree produced by key_value().
The default implementation does nothing.
Declaration
public virtual void ExitKey_value(tomlParser.Key_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Key_valueContext | context | The parse tree. |
ExitNl_or_comment(tomlParser.Nl_or_commentContext)
Exit a parse tree produced by nl_or_comment().
The default implementation does nothing.
Declaration
public virtual void ExitNl_or_comment(tomlParser.Nl_or_commentContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Nl_or_commentContext | context | The parse tree. |
ExitQuoted_key(tomlParser.Quoted_keyContext)
Exit a parse tree produced by quoted_key().
The default implementation does nothing.
Declaration
public virtual void ExitQuoted_key(tomlParser.Quoted_keyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Quoted_keyContext | context | The parse tree. |
ExitSimple_key(tomlParser.Simple_keyContext)
Exit a parse tree produced by simple_key().
The default implementation does nothing.
Declaration
public virtual void ExitSimple_key(tomlParser.Simple_keyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Simple_keyContext | context | The parse tree. |
ExitStandard_table(tomlParser.Standard_tableContext)
Exit a parse tree produced by standard_table().
The default implementation does nothing.
Declaration
public virtual void ExitStandard_table(tomlParser.Standard_tableContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Standard_tableContext | context | The parse tree. |
ExitString(tomlParser.StringContext)
Exit a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void ExitString(tomlParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.StringContext | context | The parse tree. |
ExitTable(tomlParser.TableContext)
Exit a parse tree produced by table().
The default implementation does nothing.
Declaration
public virtual void ExitTable(tomlParser.TableContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.TableContext | context | The parse tree. |
ExitUnquoted_key(tomlParser.Unquoted_keyContext)
Exit a parse tree produced by unquoted_key().
The default implementation does nothing.
Declaration
public virtual void ExitUnquoted_key(tomlParser.Unquoted_keyContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.Unquoted_keyContext | context | The parse tree. |
ExitValue(tomlParser.ValueContext)
Exit a parse tree produced by value().
The default implementation does nothing.
Declaration
public virtual void ExitValue(tomlParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
tomlParser.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.