parser

package
v0.0.0-...-1473c49 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(file string) Node

Types

type ArglistListener

type ArglistListener struct {
	*BaseTrompeListener
	Node EltListNode
}

func NewArglistListener

func NewArglistListener() *ArglistListener

func (*ArglistListener) EnterArglist

func (l *ArglistListener) EnterArglist(ctx *ArglistContext)

type BlockListener

type BlockListener struct {
	*BaseTrompeListener
	Node BlockNode
}

func NewBlockListener

func NewBlockListener() *BlockListener

func (*BlockListener) EnterBlock

func (l *BlockListener) EnterBlock(ctx *BlockContext)

type ChunkListener

type ChunkListener struct {
	*BaseTrompeListener
	Node ChunkNode
}

func NewChunkListener

func NewChunkListener() *ChunkListener

func (*ChunkListener) EnterChunk

func (l *ChunkListener) EnterChunk(ctx *ChunkContext)

type ExpListener

type ExpListener struct {
	*BaseTrompeListener
	Node ExpNode
}

func NewExpListener

func NewExpListener() *ExpListener

func (*ExpListener) EnterExp

func (l *ExpListener) EnterExp(ctx *ExpContext)

type ExplistListener

type ExplistListener struct {
	*BaseTrompeListener
	Node EltListNode
}

func NewExplistListener

func NewExplistListener() *ExplistListener

func (*ExplistListener) EnterExplist

func (l *ExplistListener) EnterExplist(ctx *ExplistContext)

type ForStatListener

type ForStatListener struct {
	*BaseTrompeListener
	Node ForStatNode
}

func NewForStatListener

func NewForStatListener() *ForStatListener

func (*ForStatListener) EnterFor_

func (l *ForStatListener) EnterFor_(ctx *For_Context)

type FuncallListener

type FuncallListener struct {
	*BaseTrompeListener
	Node FunCallExpNode
}

func NewFuncallListener

func NewFuncallListener() *FuncallListener

func (*FuncallListener) EnterFuncall

func (l *FuncallListener) EnterFuncall(ctx *FuncallContext)

type IntListener

type IntListener struct {
	*BaseTrompeListener
	Node IntExpNode
}

func NewIntListener

func NewIntListener() *IntListener

func (*IntListener) EnterInt_

func (l *IntListener) EnterInt_(ctx *Int_Context)

type ParenexpListener

type ParenexpListener struct {
	*BaseTrompeListener
	Node ExpNode
}

func NewParenexpListener

func NewParenexpListener() *ParenexpListener

func (*ParenexpListener) EnterParenexp

func (l *ParenexpListener) EnterParenexp(ctx *ParenexpContext)

type PatternListener

type PatternListener struct {
	*BaseTrompeListener
	Node PtnNode
}

func NewPatternListener

func NewPatternListener() *PatternListener

func (*PatternListener) EnterPattern

func (l *PatternListener) EnterPattern(ctx *PatternContext)

type RangeOpListener

type RangeOpListener struct {
	*BaseTrompeListener
	Token Token
	Close bool
}

func NewRangeOpListener

func NewRangeOpListener() *RangeOpListener

func (*RangeOpListener) EnterRangeop

func (l *RangeOpListener) EnterRangeop(ctx *RangeopContext)

type SimpleExpListener

type SimpleExpListener struct {
	*BaseTrompeListener
	Node ExpNode
}

func NewSimpleExpListener

func NewSimpleExpListener() *SimpleExpListener

func (*SimpleExpListener) EnterSimpleexp

func (l *SimpleExpListener) EnterSimpleexp(ctx *SimpleexpContext)

type StatListener

type StatListener struct {
	*BaseTrompeListener
	Node StatNode
}

func NewStatListener

func NewStatListener() *StatListener

func (*StatListener) EnterStat

func (l *StatListener) EnterStat(ctx *StatContext)

type StringListener

type StringListener struct {
	*BaseTrompeListener
	Node StrExpNode
}

func NewStringListener

func NewStringListener() *StringListener

func (*StringListener) EnterString_

func (l *StringListener) EnterString_(ctx *String_Context)

type VarExpListener

type VarExpListener struct {
	*BaseTrompeListener
	Node VarExpNode
}

func NewVarExpListener

func NewVarExpListener() *VarExpListener

func (*VarExpListener) EnterVar_

func (l *VarExpListener) EnterVar_(ctx *Var_Context)

Jump to

Keyboard shortcuts

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