parser

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PipeLexerT__0             = 1
	PipeLexerT__1             = 2
	PipeLexerT__2             = 3
	PipeLexerT__3             = 4
	PipeLexerT__4             = 5
	PipeLexerCommandSeparator = 6
	PipeLexerNumberLiteral    = 7
	PipeLexerStringLiteral    = 8
	PipeLexerBooleanLiteral   = 9
	PipeLexerTrue             = 10
	PipeLexerFalse            = 11
	PipeLexerIdentifier       = 12
	PipeLexerWS               = 13
)

PipeLexer tokens.

View Source
const (
	PipeParserEOF              = antlr.TokenEOF
	PipeParserT__0             = 1
	PipeParserT__1             = 2
	PipeParserT__2             = 3
	PipeParserT__3             = 4
	PipeParserT__4             = 5
	PipeParserCommandSeparator = 6
	PipeParserNumberLiteral    = 7
	PipeParserStringLiteral    = 8
	PipeParserBooleanLiteral   = 9
	PipeParserTrue             = 10
	PipeParserFalse            = 11
	PipeParserIdentifier       = 12
	PipeParserWS               = 13
)

PipeParser tokens.

View Source
const (
	PipeParserRULE_commands             = 0
	PipeParserRULE_pattern              = 1
	PipeParserRULE_commandName          = 2
	PipeParserRULE_commandArguments     = 3
	PipeParserRULE_commandArgument      = 4
	PipeParserRULE_commandArgumentLabel = 5
	PipeParserRULE_numberValue          = 6
	PipeParserRULE_stringValue          = 7
	PipeParserRULE_booleanValue         = 8
)

PipeParser rules.

Variables

This section is empty.

Functions

func ParseCommands

func ParseCommands(commands string) []commands.Command

Types

type BasePipeListener

type BasePipeListener struct{}

BasePipeListener is a complete listener for a parse tree produced by PipeParser.

func (*BasePipeListener) EnterBooleanValue

func (s *BasePipeListener) EnterBooleanValue(ctx *BooleanValueContext)

EnterBooleanValue is called when production booleanValue is entered.

func (*BasePipeListener) EnterCommandArgument

func (s *BasePipeListener) EnterCommandArgument(ctx *CommandArgumentContext)

EnterCommandArgument is called when production commandArgument is entered.

func (*BasePipeListener) EnterCommandArgumentLabel

func (s *BasePipeListener) EnterCommandArgumentLabel(ctx *CommandArgumentLabelContext)

EnterCommandArgumentLabel is called when production commandArgumentLabel is entered.

func (*BasePipeListener) EnterCommandArguments

func (s *BasePipeListener) EnterCommandArguments(ctx *CommandArgumentsContext)

EnterCommandArguments is called when production commandArguments is entered.

func (*BasePipeListener) EnterCommandName

func (s *BasePipeListener) EnterCommandName(ctx *CommandNameContext)

EnterCommandName is called when production commandName is entered.

func (*BasePipeListener) EnterCommands

func (s *BasePipeListener) EnterCommands(ctx *CommandsContext)

EnterCommands is called when production commands is entered.

func (*BasePipeListener) EnterEveryRule

func (s *BasePipeListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BasePipeListener) EnterNumberValue

func (s *BasePipeListener) EnterNumberValue(ctx *NumberValueContext)

EnterNumberValue is called when production numberValue is entered.

func (*BasePipeListener) EnterPattern

func (s *BasePipeListener) EnterPattern(ctx *PatternContext)

EnterPattern is called when production pattern is entered.

func (*BasePipeListener) EnterStringValue

func (s *BasePipeListener) EnterStringValue(ctx *StringValueContext)

EnterStringValue is called when production stringValue is entered.

func (*BasePipeListener) ExitBooleanValue

func (s *BasePipeListener) ExitBooleanValue(ctx *BooleanValueContext)

ExitBooleanValue is called when production booleanValue is exited.

func (*BasePipeListener) ExitCommandArgument

func (s *BasePipeListener) ExitCommandArgument(ctx *CommandArgumentContext)

ExitCommandArgument is called when production commandArgument is exited.

func (*BasePipeListener) ExitCommandArgumentLabel

func (s *BasePipeListener) ExitCommandArgumentLabel(ctx *CommandArgumentLabelContext)

ExitCommandArgumentLabel is called when production commandArgumentLabel is exited.

func (*BasePipeListener) ExitCommandArguments

func (s *BasePipeListener) ExitCommandArguments(ctx *CommandArgumentsContext)

ExitCommandArguments is called when production commandArguments is exited.

func (*BasePipeListener) ExitCommandName

func (s *BasePipeListener) ExitCommandName(ctx *CommandNameContext)

ExitCommandName is called when production commandName is exited.

func (*BasePipeListener) ExitCommands

func (s *BasePipeListener) ExitCommands(ctx *CommandsContext)

ExitCommands is called when production commands is exited.

func (*BasePipeListener) ExitEveryRule

func (s *BasePipeListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BasePipeListener) ExitNumberValue

func (s *BasePipeListener) ExitNumberValue(ctx *NumberValueContext)

ExitNumberValue is called when production numberValue is exited.

func (*BasePipeListener) ExitPattern

func (s *BasePipeListener) ExitPattern(ctx *PatternContext)

ExitPattern is called when production pattern is exited.

func (*BasePipeListener) ExitStringValue

func (s *BasePipeListener) ExitStringValue(ctx *StringValueContext)

ExitStringValue is called when production stringValue is exited.

func (*BasePipeListener) VisitErrorNode

func (s *BasePipeListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BasePipeListener) VisitTerminal

func (s *BasePipeListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BooleanValueContext

type BooleanValueContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewBooleanValueContext

func NewBooleanValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanValueContext

func NewEmptyBooleanValueContext

func NewEmptyBooleanValueContext() *BooleanValueContext

func (*BooleanValueContext) BooleanLiteral

func (s *BooleanValueContext) BooleanLiteral() antlr.TerminalNode

func (*BooleanValueContext) EnterRule

func (s *BooleanValueContext) EnterRule(listener antlr.ParseTreeListener)

func (*BooleanValueContext) ExitRule

func (s *BooleanValueContext) ExitRule(listener antlr.ParseTreeListener)

func (*BooleanValueContext) GetParser

func (s *BooleanValueContext) GetParser() antlr.Parser

func (*BooleanValueContext) GetRuleContext

func (s *BooleanValueContext) GetRuleContext() antlr.RuleContext

func (*BooleanValueContext) IsBooleanValueContext

func (*BooleanValueContext) IsBooleanValueContext()

func (*BooleanValueContext) ToStringTree

func (s *BooleanValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CommandArgumentContext

type CommandArgumentContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCommandArgumentContext

func NewCommandArgumentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandArgumentContext

func NewEmptyCommandArgumentContext

func NewEmptyCommandArgumentContext() *CommandArgumentContext

func (*CommandArgumentContext) BooleanValue

func (s *CommandArgumentContext) BooleanValue() IBooleanValueContext

func (*CommandArgumentContext) CommandArgumentLabel

func (s *CommandArgumentContext) CommandArgumentLabel() ICommandArgumentLabelContext

func (*CommandArgumentContext) EnterRule

func (s *CommandArgumentContext) EnterRule(listener antlr.ParseTreeListener)

func (*CommandArgumentContext) ExitRule

func (s *CommandArgumentContext) ExitRule(listener antlr.ParseTreeListener)

func (*CommandArgumentContext) GetParser

func (s *CommandArgumentContext) GetParser() antlr.Parser

func (*CommandArgumentContext) GetRuleContext

func (s *CommandArgumentContext) GetRuleContext() antlr.RuleContext

func (*CommandArgumentContext) IsCommandArgumentContext

func (*CommandArgumentContext) IsCommandArgumentContext()

func (*CommandArgumentContext) NumberValue

func (*CommandArgumentContext) StringValue

func (*CommandArgumentContext) ToStringTree

func (s *CommandArgumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CommandArgumentLabelContext

type CommandArgumentLabelContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCommandArgumentLabelContext

func NewCommandArgumentLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandArgumentLabelContext

func NewEmptyCommandArgumentLabelContext

func NewEmptyCommandArgumentLabelContext() *CommandArgumentLabelContext

func (*CommandArgumentLabelContext) EnterRule

func (s *CommandArgumentLabelContext) EnterRule(listener antlr.ParseTreeListener)

func (*CommandArgumentLabelContext) ExitRule

func (s *CommandArgumentLabelContext) ExitRule(listener antlr.ParseTreeListener)

func (*CommandArgumentLabelContext) GetParser

func (s *CommandArgumentLabelContext) GetParser() antlr.Parser

func (*CommandArgumentLabelContext) GetRuleContext

func (s *CommandArgumentLabelContext) GetRuleContext() antlr.RuleContext

func (*CommandArgumentLabelContext) Identifier

func (*CommandArgumentLabelContext) IsCommandArgumentLabelContext

func (*CommandArgumentLabelContext) IsCommandArgumentLabelContext()

func (*CommandArgumentLabelContext) ToStringTree

func (s *CommandArgumentLabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CommandArgumentsContext

type CommandArgumentsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCommandArgumentsContext

func NewCommandArgumentsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandArgumentsContext

func NewEmptyCommandArgumentsContext

func NewEmptyCommandArgumentsContext() *CommandArgumentsContext

func (*CommandArgumentsContext) AllCommandArgument

func (s *CommandArgumentsContext) AllCommandArgument() []ICommandArgumentContext

func (*CommandArgumentsContext) CommandArgument

func (s *CommandArgumentsContext) CommandArgument(i int) ICommandArgumentContext

func (*CommandArgumentsContext) EnterRule

func (s *CommandArgumentsContext) EnterRule(listener antlr.ParseTreeListener)

func (*CommandArgumentsContext) ExitRule

func (s *CommandArgumentsContext) ExitRule(listener antlr.ParseTreeListener)

func (*CommandArgumentsContext) GetParser

func (s *CommandArgumentsContext) GetParser() antlr.Parser

func (*CommandArgumentsContext) GetRuleContext

func (s *CommandArgumentsContext) GetRuleContext() antlr.RuleContext

func (*CommandArgumentsContext) IsCommandArgumentsContext

func (*CommandArgumentsContext) IsCommandArgumentsContext()

func (*CommandArgumentsContext) ToStringTree

func (s *CommandArgumentsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CommandNameContext

type CommandNameContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCommandNameContext

func NewCommandNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandNameContext

func NewEmptyCommandNameContext

func NewEmptyCommandNameContext() *CommandNameContext

func (*CommandNameContext) AllIdentifier

func (s *CommandNameContext) AllIdentifier() []antlr.TerminalNode

func (*CommandNameContext) EnterRule

func (s *CommandNameContext) EnterRule(listener antlr.ParseTreeListener)

func (*CommandNameContext) ExitRule

func (s *CommandNameContext) ExitRule(listener antlr.ParseTreeListener)

func (*CommandNameContext) GetParser

func (s *CommandNameContext) GetParser() antlr.Parser

func (*CommandNameContext) GetRuleContext

func (s *CommandNameContext) GetRuleContext() antlr.RuleContext

func (*CommandNameContext) Identifier

func (s *CommandNameContext) Identifier(i int) antlr.TerminalNode

func (*CommandNameContext) IsCommandNameContext

func (*CommandNameContext) IsCommandNameContext()

func (*CommandNameContext) ToStringTree

func (s *CommandNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CommandsContext

type CommandsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCommandsContext

func NewCommandsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandsContext

func NewEmptyCommandsContext

func NewEmptyCommandsContext() *CommandsContext

func (*CommandsContext) AllCommandSeparator

func (s *CommandsContext) AllCommandSeparator() []antlr.TerminalNode

func (*CommandsContext) AllPattern

func (s *CommandsContext) AllPattern() []IPatternContext

func (*CommandsContext) CommandSeparator

func (s *CommandsContext) CommandSeparator(i int) antlr.TerminalNode

func (*CommandsContext) EnterRule

func (s *CommandsContext) EnterRule(listener antlr.ParseTreeListener)

func (*CommandsContext) ExitRule

func (s *CommandsContext) ExitRule(listener antlr.ParseTreeListener)

func (*CommandsContext) GetParser

func (s *CommandsContext) GetParser() antlr.Parser

func (*CommandsContext) GetRuleContext

func (s *CommandsContext) GetRuleContext() antlr.RuleContext

func (*CommandsContext) IsCommandsContext

func (*CommandsContext) IsCommandsContext()

func (*CommandsContext) Pattern

func (s *CommandsContext) Pattern(i int) IPatternContext

func (*CommandsContext) ToStringTree

func (s *CommandsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ErrorListener

type ErrorListener struct {
	*antlr.DiagnosticErrorListener
}

func NewErrorListener

func NewErrorListener() *ErrorListener

func (*ErrorListener) SyntaxError

func (el *ErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{},
	line, column int, msg string, e antlr.RecognitionException)

type IBooleanValueContext

type IBooleanValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsBooleanValueContext differentiates from other interfaces.
	IsBooleanValueContext()
}

IBooleanValueContext is an interface to support dynamic dispatch.

type ICommandArgumentContext

type ICommandArgumentContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCommandArgumentContext differentiates from other interfaces.
	IsCommandArgumentContext()
}

ICommandArgumentContext is an interface to support dynamic dispatch.

type ICommandArgumentLabelContext

type ICommandArgumentLabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCommandArgumentLabelContext differentiates from other interfaces.
	IsCommandArgumentLabelContext()
}

ICommandArgumentLabelContext is an interface to support dynamic dispatch.

type ICommandArgumentsContext

type ICommandArgumentsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCommandArgumentsContext differentiates from other interfaces.
	IsCommandArgumentsContext()
}

ICommandArgumentsContext is an interface to support dynamic dispatch.

type ICommandNameContext

type ICommandNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCommandNameContext differentiates from other interfaces.
	IsCommandNameContext()
}

ICommandNameContext is an interface to support dynamic dispatch.

type ICommandsContext

type ICommandsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCommandsContext differentiates from other interfaces.
	IsCommandsContext()
}

ICommandsContext is an interface to support dynamic dispatch.

type INumberValueContext

type INumberValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsNumberValueContext differentiates from other interfaces.
	IsNumberValueContext()
}

INumberValueContext is an interface to support dynamic dispatch.

type IPatternContext

type IPatternContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPatternContext differentiates from other interfaces.
	IsPatternContext()
}

IPatternContext is an interface to support dynamic dispatch.

type IStringValueContext

type IStringValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsStringValueContext differentiates from other interfaces.
	IsStringValueContext()
}

IStringValueContext is an interface to support dynamic dispatch.

type NumberValueContext

type NumberValueContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNumberValueContext

func NewEmptyNumberValueContext() *NumberValueContext

func NewNumberValueContext

func NewNumberValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberValueContext

func (*NumberValueContext) EnterRule

func (s *NumberValueContext) EnterRule(listener antlr.ParseTreeListener)

func (*NumberValueContext) ExitRule

func (s *NumberValueContext) ExitRule(listener antlr.ParseTreeListener)

func (*NumberValueContext) GetParser

func (s *NumberValueContext) GetParser() antlr.Parser

func (*NumberValueContext) GetRuleContext

func (s *NumberValueContext) GetRuleContext() antlr.RuleContext

func (*NumberValueContext) IsNumberValueContext

func (*NumberValueContext) IsNumberValueContext()

func (*NumberValueContext) NumberLiteral

func (s *NumberValueContext) NumberLiteral() antlr.TerminalNode

func (*NumberValueContext) ToStringTree

func (s *NumberValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PatternContext

type PatternContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPatternContext

func NewEmptyPatternContext() *PatternContext

func NewPatternContext

func NewPatternContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PatternContext

func (*PatternContext) CommandArguments

func (s *PatternContext) CommandArguments() ICommandArgumentsContext

func (*PatternContext) CommandName

func (s *PatternContext) CommandName() ICommandNameContext

func (*PatternContext) EnterRule

func (s *PatternContext) EnterRule(listener antlr.ParseTreeListener)

func (*PatternContext) ExitRule

func (s *PatternContext) ExitRule(listener antlr.ParseTreeListener)

func (*PatternContext) GetParser

func (s *PatternContext) GetParser() antlr.Parser

func (*PatternContext) GetRuleContext

func (s *PatternContext) GetRuleContext() antlr.RuleContext

func (*PatternContext) IsPatternContext

func (*PatternContext) IsPatternContext()

func (*PatternContext) ToStringTree

func (s *PatternContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PipeLexer

type PipeLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewPipeLexer

func NewPipeLexer(input antlr.CharStream) *PipeLexer

type PipeListener

type PipeListener interface {
	antlr.ParseTreeListener

	// EnterCommands is called when entering the commands production.
	EnterCommands(c *CommandsContext)

	// EnterPattern is called when entering the pattern production.
	EnterPattern(c *PatternContext)

	// EnterCommandName is called when entering the commandName production.
	EnterCommandName(c *CommandNameContext)

	// EnterCommandArguments is called when entering the commandArguments production.
	EnterCommandArguments(c *CommandArgumentsContext)

	// EnterCommandArgument is called when entering the commandArgument production.
	EnterCommandArgument(c *CommandArgumentContext)

	// EnterCommandArgumentLabel is called when entering the commandArgumentLabel production.
	EnterCommandArgumentLabel(c *CommandArgumentLabelContext)

	// EnterNumberValue is called when entering the numberValue production.
	EnterNumberValue(c *NumberValueContext)

	// EnterStringValue is called when entering the stringValue production.
	EnterStringValue(c *StringValueContext)

	// EnterBooleanValue is called when entering the booleanValue production.
	EnterBooleanValue(c *BooleanValueContext)

	// ExitCommands is called when exiting the commands production.
	ExitCommands(c *CommandsContext)

	// ExitPattern is called when exiting the pattern production.
	ExitPattern(c *PatternContext)

	// ExitCommandName is called when exiting the commandName production.
	ExitCommandName(c *CommandNameContext)

	// ExitCommandArguments is called when exiting the commandArguments production.
	ExitCommandArguments(c *CommandArgumentsContext)

	// ExitCommandArgument is called when exiting the commandArgument production.
	ExitCommandArgument(c *CommandArgumentContext)

	// ExitCommandArgumentLabel is called when exiting the commandArgumentLabel production.
	ExitCommandArgumentLabel(c *CommandArgumentLabelContext)

	// ExitNumberValue is called when exiting the numberValue production.
	ExitNumberValue(c *NumberValueContext)

	// ExitStringValue is called when exiting the stringValue production.
	ExitStringValue(c *StringValueContext)

	// ExitBooleanValue is called when exiting the booleanValue production.
	ExitBooleanValue(c *BooleanValueContext)
}

PipeListener is a complete listener for a parse tree produced by PipeParser.

type PipeParser

type PipeParser struct {
	*antlr.BaseParser
}

func NewPipeParser

func NewPipeParser(input antlr.TokenStream) *PipeParser

func (*PipeParser) BooleanValue

func (p *PipeParser) BooleanValue() (localctx IBooleanValueContext)

func (*PipeParser) CommandArgument

func (p *PipeParser) CommandArgument() (localctx ICommandArgumentContext)

func (*PipeParser) CommandArgumentLabel

func (p *PipeParser) CommandArgumentLabel() (localctx ICommandArgumentLabelContext)

func (*PipeParser) CommandArguments

func (p *PipeParser) CommandArguments() (localctx ICommandArgumentsContext)

func (*PipeParser) CommandName

func (p *PipeParser) CommandName() (localctx ICommandNameContext)

func (*PipeParser) Commands

func (p *PipeParser) Commands() (localctx ICommandsContext)

func (*PipeParser) NumberValue

func (p *PipeParser) NumberValue() (localctx INumberValueContext)

func (*PipeParser) Pattern

func (p *PipeParser) Pattern() (localctx IPatternContext)

func (*PipeParser) StringValue

func (p *PipeParser) StringValue() (localctx IStringValueContext)

type StringValueContext

type StringValueContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStringValueContext

func NewEmptyStringValueContext() *StringValueContext

func NewStringValueContext

func NewStringValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringValueContext

func (*StringValueContext) EnterRule

func (s *StringValueContext) EnterRule(listener antlr.ParseTreeListener)

func (*StringValueContext) ExitRule

func (s *StringValueContext) ExitRule(listener antlr.ParseTreeListener)

func (*StringValueContext) GetParser

func (s *StringValueContext) GetParser() antlr.Parser

func (*StringValueContext) GetRuleContext

func (s *StringValueContext) GetRuleContext() antlr.RuleContext

func (*StringValueContext) IsStringValueContext

func (*StringValueContext) IsStringValueContext()

func (*StringValueContext) StringLiteral

func (s *StringValueContext) StringLiteral() antlr.TerminalNode

func (*StringValueContext) ToStringTree

func (s *StringValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TreeShapeListener

type TreeShapeListener struct {
	*BasePipeListener
	// contains filtered or unexported fields
}

func NewTreeShapeListener

func NewTreeShapeListener() *TreeShapeListener

func (*TreeShapeListener) EnterBooleanValue

func (t *TreeShapeListener) EnterBooleanValue(ctx *BooleanValueContext)

func (*TreeShapeListener) EnterCommandArgument

func (t *TreeShapeListener) EnterCommandArgument(ctx *CommandArgumentContext)

func (*TreeShapeListener) EnterCommandArgumentLabel

func (t *TreeShapeListener) EnterCommandArgumentLabel(ctx *CommandArgumentLabelContext)

func (*TreeShapeListener) EnterCommandArguments

func (t *TreeShapeListener) EnterCommandArguments(ctx *CommandArgumentsContext)

func (*TreeShapeListener) EnterCommandName

func (t *TreeShapeListener) EnterCommandName(ctx *CommandNameContext)

func (*TreeShapeListener) EnterNumberValue

func (t *TreeShapeListener) EnterNumberValue(ctx *NumberValueContext)

func (*TreeShapeListener) EnterPattern

func (t *TreeShapeListener) EnterPattern(ctx *PatternContext)

func (*TreeShapeListener) EnterStringValue

func (t *TreeShapeListener) EnterStringValue(ctx *StringValueContext)

func (*TreeShapeListener) ExitCommandArgument

func (t *TreeShapeListener) ExitCommandArgument(ctx *CommandArgumentContext)

func (*TreeShapeListener) ExitPattern

func (t *TreeShapeListener) ExitPattern(ctx *PatternContext)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL