parse

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ImportError is returned by parser when its unable to load input modules
	ImportError = 1
	// ParseError is returned by parser when one of the input files has syntax errors
	ParseError = 2
)

Variables

This section is empty.

Functions

func LoadAndGetDefaultApp added in v0.3.0

func LoadAndGetDefaultApp(root, model string, p *Parser) (*sysl.Module, string)

func RootFS added in v0.3.0

func RootFS(root string) (http.FileSystem, error)

Types

type Exit

type Exit struct {
	Code int
	// contains filtered or unexported fields
}

func Exitf

func Exitf(code int, format string, args ...interface{}) Exit

func (Exit) Error

func (e Exit) Error() string

type Parser added in v0.3.0

type Parser struct {
	AssignTypes map[string]TypeData
	LetTypes    map[string]TypeData
	Messages    map[string][]msg.Msg
}

Parser holds assign types and let(variable) definitions in hierarchical order, and messages generated while parsing

func NewParser added in v0.3.0

func NewParser() *Parser

func (*Parser) FSParse added in v0.3.0

func (p *Parser) FSParse(filename string, fs http.FileSystem) (*sysl.Module, error)

FSParse ...

func (*Parser) GetAssigns added in v0.3.0

func (p *Parser) GetAssigns() map[string]TypeData

func (*Parser) GetLets added in v0.3.0

func (p *Parser) GetLets() map[string]TypeData

func (*Parser) GetMessages added in v0.3.0

func (p *Parser) GetMessages() map[string][]msg.Msg

func (*Parser) Parse added in v0.3.0

func (p *Parser) Parse(filename string, root string) (*sysl.Module, error)

Parse parses a Sysl file under a specified root.

type SyslParserErrorListener

type SyslParserErrorListener struct {
	*antlr.DefaultErrorListener
	// contains filtered or unexported fields
}

SyslParserErrorListener ...

func (*SyslParserErrorListener) ReportAmbiguity

func (d *SyslParserErrorListener) ReportAmbiguity(
	recognizer antlr.Parser,
	dfa *antlr.DFA,
	startIndex, stopIndex int,
	exact bool,
	ambigAlts *antlr.BitSet,
	configs antlr.ATNConfigSet,
)

ReportAmbiguity ...

func (*SyslParserErrorListener) ReportAttemptingFullContext

func (d *SyslParserErrorListener) ReportAttemptingFullContext(
	recognizer antlr.Parser,
	dfa *antlr.DFA,
	startIndex, stopIndex int,
	conflictingAlts *antlr.BitSet,
	configs antlr.ATNConfigSet,
)

ReportAttemptingFullContext ...

func (*SyslParserErrorListener) ReportContextSensitivity

func (d *SyslParserErrorListener) ReportContextSensitivity(
	recognizer antlr.Parser,
	dfa *antlr.DFA,
	startIndex, stopIndex int,
	prediction int,
	configs antlr.ATNConfigSet,
)

ReportContextSensitivity ...

func (*SyslParserErrorListener) SyntaxError

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

SyntaxError ...

type TreeShapeListener

type TreeShapeListener struct {
	*parser.BaseSyslParserListener
	// contains filtered or unexported fields
}

TreeShapeListener ..

func NewTreeShapeListener

func NewTreeShapeListener(fs http.FileSystem) *TreeShapeListener

NewTreeShapeListener ...

func (*TreeShapeListener) EnterAlias

func (s *TreeShapeListener) EnterAlias(ctx *parser.AliasContext)

EnterAlias is called when production alias is entered.

func (*TreeShapeListener) EnterAnnotation

func (s *TreeShapeListener) EnterAnnotation(ctx *parser.AnnotationContext)

EnterAnnotation is called when production annotation is entered.

func (*TreeShapeListener) EnterAnnotation_value

func (s *TreeShapeListener) EnterAnnotation_value(ctx *parser.Annotation_valueContext)

EnterAnnotation_value is called when production annotation_value is entered.

func (*TreeShapeListener) EnterAnnotations

func (s *TreeShapeListener) EnterAnnotations(*parser.AnnotationsContext)

EnterAnnotations is called when production annotations is entered.

func (*TreeShapeListener) EnterApp_decl

func (s *TreeShapeListener) EnterApp_decl(ctx *parser.App_declContext)

EnterApp_decl is called when production app_decl is entered.

func (*TreeShapeListener) EnterApp_name

func (s *TreeShapeListener) EnterApp_name(*parser.App_nameContext)

EnterApp_name is called when production app_name is entered.

func (*TreeShapeListener) EnterApplication

func (s *TreeShapeListener) EnterApplication(*parser.ApplicationContext)

EnterApplication is called when production application is entered.

func (*TreeShapeListener) EnterArray_of_arrays

func (s *TreeShapeListener) EnterArray_of_arrays(*parser.Array_of_arraysContext)

EnterArray_of_arrays is called when production array_of_arrays is entered.

func (*TreeShapeListener) EnterArray_of_strings

func (s *TreeShapeListener) EnterArray_of_strings(*parser.Array_of_stringsContext)

EnterArray_of_strings is called when production array_of_strings is entered.

func (*TreeShapeListener) EnterAtom

func (s *TreeShapeListener) EnterAtom(*parser.AtomContext)

EnterAtom is called when production atom is entered.

func (*TreeShapeListener) EnterAtomT

func (s *TreeShapeListener) EnterAtomT(*parser.AtomTContext)

EnterAtomT is called when production atomT is entered.

func (*TreeShapeListener) EnterAtomT_implied_dot

func (s *TreeShapeListener) EnterAtomT_implied_dot(*parser.AtomT_implied_dotContext)

EnterAtomT_implied_dot is called when production atomT_implied_dot is entered.

func (*TreeShapeListener) EnterAtomT_name

func (s *TreeShapeListener) EnterAtomT_name(*parser.AtomT_nameContext)

EnterAtomT_name is called when production atomT_name is entered.

func (*TreeShapeListener) EnterAtomT_paren

func (s *TreeShapeListener) EnterAtomT_paren(*parser.AtomT_parenContext)

EnterAtomT_paren is called when production atomT_paren is entered.

func (*TreeShapeListener) EnterAtom_dot_relop

func (s *TreeShapeListener) EnterAtom_dot_relop(*parser.Atom_dot_relopContext)

EnterAtom_dot_relop is called when production atom_dot_relop is entered.

func (*TreeShapeListener) EnterAttribs_or_modifiers

func (s *TreeShapeListener) EnterAttribs_or_modifiers(*parser.Attribs_or_modifiersContext)

EnterAttribs_or_modifiers is called when production attribs_or_modifiers is entered.

func (*TreeShapeListener) EnterAttributes

func (s *TreeShapeListener) EnterAttributes(*parser.AttributesContext)

EnterAttributes is called when production attributes is entered.

func (*TreeShapeListener) EnterBinexpr

func (s *TreeShapeListener) EnterBinexpr(*parser.BinexprContext)

EnterBinexpr is called when production binexpr is entered.

func (*TreeShapeListener) EnterBinexprT

func (s *TreeShapeListener) EnterBinexprT(*parser.BinexprTContext)

EnterBinexprT is called when production binexprT is entered.

func (*TreeShapeListener) EnterCall_arg

func (s *TreeShapeListener) EnterCall_arg(ctx *parser.Call_argContext)

EnterCall_arg is called when production call_arg is entered.

func (*TreeShapeListener) EnterCall_args

func (s *TreeShapeListener) EnterCall_args(*parser.Call_argsContext)

EnterCall_args is called when production call_args is entered.

func (*TreeShapeListener) EnterCall_stmt

func (s *TreeShapeListener) EnterCall_stmt(ctx *parser.Call_stmtContext)

EnterCall_stmt is called when production call_stmt is entered.

func (*TreeShapeListener) EnterCollection_type

func (s *TreeShapeListener) EnterCollection_type(*parser.Collection_typeContext)

EnterCollection_type is called when production collection_type is entered.

func (*TreeShapeListener) EnterCollector

func (s *TreeShapeListener) EnterCollector(ctx *parser.CollectorContext)

EnterCollector is called when production collector is entered.

func (*TreeShapeListener) EnterCollector_action_stmt

func (s *TreeShapeListener) EnterCollector_action_stmt(ctx *parser.Collector_action_stmtContext)

EnterCollector_action_stmt is called when production collector_action_stmt is entered.

func (*TreeShapeListener) EnterCollector_call_stmt

func (s *TreeShapeListener) EnterCollector_call_stmt(ctx *parser.Collector_call_stmtContext)

EnterCollector_call_stmt is called when production collector_call_stmt is entered.

func (*TreeShapeListener) EnterCollector_http_stmt

func (s *TreeShapeListener) EnterCollector_http_stmt(ctx *parser.Collector_http_stmtContext)

EnterCollector_http_stmt is called when production collector_http_stmt is entered.

func (*TreeShapeListener) EnterCollector_http_stmt_part

func (s *TreeShapeListener) EnterCollector_http_stmt_part(ctx *parser.Collector_http_stmt_partContext)

EnterCollector_http_stmt_part is called when production collector_http_stmt_part is entered.

func (*TreeShapeListener) EnterCollector_pubsub_call

func (s *TreeShapeListener) EnterCollector_pubsub_call(ctx *parser.Collector_pubsub_callContext)

EnterCollector_pubsub_call is called when production collector_pubsub_call is entered.

func (*TreeShapeListener) EnterCollector_query_param

func (s *TreeShapeListener) EnterCollector_query_param(*parser.Collector_query_paramContext)

EnterCollector_query_param is called when production collector_query_param is entered.

func (*TreeShapeListener) EnterCollector_query_var

func (s *TreeShapeListener) EnterCollector_query_var(*parser.Collector_query_varContext)

EnterCollector_query_var is called when production collector_query_var is entered.

func (*TreeShapeListener) EnterCollector_stmts

func (s *TreeShapeListener) EnterCollector_stmts(*parser.Collector_stmtsContext)

EnterCollector_stmts is called when production collector_stmts is entered.

func (*TreeShapeListener) EnterCond_block

func (s *TreeShapeListener) EnterCond_block(*parser.Cond_blockContext)

EnterCond_block is called when production cond_block is entered.

func (*TreeShapeListener) EnterControl_item

func (s *TreeShapeListener) EnterControl_item(*parser.Control_itemContext)

EnterControl_item is called when production control_item is entered.

func (*TreeShapeListener) EnterDoc_string

func (s *TreeShapeListener) EnterDoc_string(ctx *parser.Doc_stringContext)

EnterDoc_string is called when production doc_string is entered.

func (*TreeShapeListener) EnterDocumentation_stmts

func (s *TreeShapeListener) EnterDocumentation_stmts(*parser.Documentation_stmtsContext)

EnterDocumentation_stmts is called when production documentation_stmts is entered.

func (*TreeShapeListener) EnterE_compare_ops

func (s *TreeShapeListener) EnterE_compare_ops(*parser.E_compare_opsContext)

EnterE_compare_ops is called when production e_compare_ops is entered.

func (*TreeShapeListener) EnterE_scope_var

func (s *TreeShapeListener) EnterE_scope_var(*parser.E_scope_varContext)

EnterE_scope_var is called when production e_scope_var is entered.

func (*TreeShapeListener) EnterE_single_arg_func

func (s *TreeShapeListener) EnterE_single_arg_func(*parser.E_single_arg_funcContext)

EnterE_single_arg_func is called when production e_single_arg_func is entered.

func (*TreeShapeListener) EnterElse_block_stmt

func (s *TreeShapeListener) EnterElse_block_stmt(*parser.Else_block_stmtContext)

EnterElse_block_stmt is called when production else_block_stmt is entered.

func (*TreeShapeListener) EnterElse_stmt

func (s *TreeShapeListener) EnterElse_stmt(ctx *parser.Else_stmtContext)

EnterElse_stmt is called when production else_stmt is entered.

func (*TreeShapeListener) EnterEmpty_tuple

func (s *TreeShapeListener) EnterEmpty_tuple(*parser.Empty_tupleContext)

EnterEmpty_tuple is called when production empty_tuple is entered.

func (*TreeShapeListener) EnterEndpoint_name

func (s *TreeShapeListener) EnterEndpoint_name(*parser.Endpoint_nameContext)

EnterEndpoint_name is called when production endpoint_name is entered.

func (*TreeShapeListener) EnterEntry

func (s *TreeShapeListener) EnterEntry(*parser.EntryContext)

EnterEntry is called when production entry is entered.

func (*TreeShapeListener) EnterEvent

func (s *TreeShapeListener) EnterEvent(ctx *parser.EventContext)

EnterEvent is called when production event is entered.

func (*TreeShapeListener) EnterEveryRule

func (s *TreeShapeListener) EnterEveryRule(antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*TreeShapeListener) EnterExpr

func (s *TreeShapeListener) EnterExpr(*parser.ExprContext)

EnterExpr is called when production expr is entered.

func (*TreeShapeListener) EnterExpr_agg_func

func (s *TreeShapeListener) EnterExpr_agg_func(ctx *parser.Expr_agg_funcContext)

EnterExpr_agg_func is called when production expr_agg_func is entered.

func (*TreeShapeListener) EnterExpr_and

func (s *TreeShapeListener) EnterExpr_and(*parser.Expr_andContext)

EnterExpr_and is called when production expr_and is entered.

func (*TreeShapeListener) EnterExpr_any_func

func (s *TreeShapeListener) EnterExpr_any_func(*parser.Expr_any_funcContext)

EnterExpr_any_func is called when production expr_any_func is entered.

func (*TreeShapeListener) EnterExpr_assign

func (s *TreeShapeListener) EnterExpr_assign(*parser.Expr_assignContext)

EnterExpr_assign is called when production expr_assign is entered.

func (*TreeShapeListener) EnterExpr_atom_list

func (s *TreeShapeListener) EnterExpr_atom_list(*parser.Expr_atom_listContext)

EnterExpr_atom_list is called when production expr_atom_list is entered.

func (*TreeShapeListener) EnterExpr_bitand

func (s *TreeShapeListener) EnterExpr_bitand(*parser.Expr_bitandContext)

EnterExpr_bitand is called when production expr_bitand is entered.

func (*TreeShapeListener) EnterExpr_bitor

func (s *TreeShapeListener) EnterExpr_bitor(*parser.Expr_bitorContext)

EnterExpr_bitor is called when production expr_bitor is entered.

func (*TreeShapeListener) EnterExpr_bitxor

func (s *TreeShapeListener) EnterExpr_bitxor(*parser.Expr_bitxorContext)

EnterExpr_bitxor is called when production expr_bitxor is entered.

func (*TreeShapeListener) EnterExpr_block

func (s *TreeShapeListener) EnterExpr_block(*parser.Expr_blockContext)

EnterExpr_block is called when production expr_block is entered.

func (*TreeShapeListener) EnterExpr_but_not

func (s *TreeShapeListener) EnterExpr_but_not(*parser.Expr_but_notContext)

EnterExpr_but_not is called when production expr_but_not is entered.

func (*TreeShapeListener) EnterExpr_coalesce

func (s *TreeShapeListener) EnterExpr_coalesce(*parser.Expr_coalesceContext)

EnterExpr_coalesce is called when production expr_coalesce is entered.

func (*TreeShapeListener) EnterExpr_count

func (s *TreeShapeListener) EnterExpr_count(*parser.Expr_countContext)

EnterExpr_count is called when production expr_count is entered.

func (*TreeShapeListener) EnterExpr_dot_assign

func (s *TreeShapeListener) EnterExpr_dot_assign(*parser.Expr_dot_assignContext)

EnterExpr_dot_assign is called when production expr_dot_assign is entered.

func (*TreeShapeListener) EnterExpr_first_func

func (s *TreeShapeListener) EnterExpr_first_func(*parser.Expr_first_funcContext)

EnterExpr_first_func is called when production expr_first_func is entered.

func (*TreeShapeListener) EnterExpr_func

func (s *TreeShapeListener) EnterExpr_func(ctx *parser.Expr_funcContext)

EnterExpr_func is called when production expr_func is entered.

func (*TreeShapeListener) EnterExpr_if_else

func (s *TreeShapeListener) EnterExpr_if_else(*parser.Expr_if_elseContext)

EnterExpr_if_else is called when production expr_if_else is entered.

func (*TreeShapeListener) EnterExpr_inject_stmt

func (s *TreeShapeListener) EnterExpr_inject_stmt(*parser.Expr_inject_stmtContext)

EnterExpr_inject_stmt is called when production expr_inject_stmt is entered.

func (*TreeShapeListener) EnterExpr_let_statement

func (s *TreeShapeListener) EnterExpr_let_statement(*parser.Expr_let_statementContext)

EnterExpr_let_statement is called when production expr_let_statement is entered.

func (*TreeShapeListener) EnterExpr_list

func (s *TreeShapeListener) EnterExpr_list(*parser.Expr_listContext)

EnterExpr_list is called when production expr_list is entered.

func (*TreeShapeListener) EnterExpr_matching

func (s *TreeShapeListener) EnterExpr_matching(ctx *parser.Expr_matchingContext)

EnterExpr_matching is called when production expr_matching is entered.

func (*TreeShapeListener) EnterExpr_navigate

func (s *TreeShapeListener) EnterExpr_navigate(ctx *parser.Expr_navigateContext)

EnterExpr_navigate is called when production expr_navigate is entered.

func (*TreeShapeListener) EnterExpr_navigate_attr

func (s *TreeShapeListener) EnterExpr_navigate_attr(*parser.Expr_navigate_attrContext)

EnterExpr_navigate_attr is called when production expr_navigate_attr is entered.

func (*TreeShapeListener) EnterExpr_or

func (s *TreeShapeListener) EnterExpr_or(*parser.Expr_orContext)

EnterExpr_or is called when production expr_or is entered.

func (*TreeShapeListener) EnterExpr_rank_func

func (s *TreeShapeListener) EnterExpr_rank_func(ctx *parser.Expr_rank_funcContext)

EnterExpr_rank_func is called when production expr_rank_func is entered.

func (*TreeShapeListener) EnterExpr_rel

func (s *TreeShapeListener) EnterExpr_rel(*parser.Expr_relContext)

EnterExpr_rel is called when production expr_rel is entered.

func (*TreeShapeListener) EnterExpr_set

func (s *TreeShapeListener) EnterExpr_set(*parser.Expr_setContext)

EnterExpr_set is called when production expr_set is entered.

func (*TreeShapeListener) EnterExpr_simple_assign

func (s *TreeShapeListener) EnterExpr_simple_assign(*parser.Expr_simple_assignContext)

EnterExpr_simple_assign is called when production expr_simple_assign is entered.

func (*TreeShapeListener) EnterExpr_single_arg_func

func (s *TreeShapeListener) EnterExpr_single_arg_func(*parser.Expr_single_arg_funcContext)

EnterExpr_single_arg_func is called when production expr_single_arg_func is entered.

func (*TreeShapeListener) EnterExpr_single_or_null

func (s *TreeShapeListener) EnterExpr_single_or_null(*parser.Expr_single_or_nullContext)

EnterExpr_single_or_null is called when production expr_single_or_null is entered.

func (*TreeShapeListener) EnterExpr_snapshot

func (s *TreeShapeListener) EnterExpr_snapshot(*parser.Expr_snapshotContext)

EnterExpr_snapshot is called when production expr_snapshot is entered.

func (*TreeShapeListener) EnterExpr_statement

func (s *TreeShapeListener) EnterExpr_statement(*parser.Expr_statementContext)

EnterExpr_statement is called when production expr_statement is entered.

func (*TreeShapeListener) EnterExpr_statement_no_nl

func (s *TreeShapeListener) EnterExpr_statement_no_nl(*parser.Expr_statement_no_nlContext)

EnterExpr_statement_no_nl is called when production expr_statement_no_nl is entered.

func (*TreeShapeListener) EnterExpr_stmt

func (s *TreeShapeListener) EnterExpr_stmt(*parser.Expr_stmtContext)

EnterExpr_stmt is called when production expr_stmt is entered.

func (*TreeShapeListener) EnterExpr_table_of_op

func (s *TreeShapeListener) EnterExpr_table_of_op(*parser.Expr_table_of_opContext)

EnterExpr_table_of_op is called when production expr_table_of_op is entered.

func (*TreeShapeListener) EnterExpr_table_of_statement

func (s *TreeShapeListener) EnterExpr_table_of_statement(*parser.Expr_table_of_statementContext)

EnterExpr_table_of_statement is called when production expr_table_of_statement is entered.

func (*TreeShapeListener) EnterFacade

func (s *TreeShapeListener) EnterFacade(*parser.FacadeContext)

EnterFacade is called when production facade is entered.

func (*TreeShapeListener) EnterField

func (s *TreeShapeListener) EnterField(ctx *parser.FieldContext)

EnterField is called when production field is entered.

func (*TreeShapeListener) EnterField_type

func (s *TreeShapeListener) EnterField_type(ctx *parser.Field_typeContext)

EnterField_type is called when production field_type is entered.

func (*TreeShapeListener) EnterFinal_else

func (s *TreeShapeListener) EnterFinal_else(*parser.Final_elseContext)

EnterFinal_else is called when production final_else is entered.

func (*TreeShapeListener) EnterFirst_func_target

func (s *TreeShapeListener) EnterFirst_func_target(*parser.First_func_targetContext)

EnterFirst_func_target is called when production first_func_target is entered.

func (*TreeShapeListener) EnterFor_stmt

func (s *TreeShapeListener) EnterFor_stmt(ctx *parser.For_stmtContext)

EnterFor_stmt is called when production for_stmt is entered.

func (*TreeShapeListener) EnterFunc_arg

func (s *TreeShapeListener) EnterFunc_arg(*parser.Func_argContext)

EnterFunc_arg is called when production func_arg is entered.

func (*TreeShapeListener) EnterFunc_args

func (s *TreeShapeListener) EnterFunc_args(*parser.Func_argsContext)

EnterFunc_args is called when production func_args is entered.

func (*TreeShapeListener) EnterGroup_stmt

func (s *TreeShapeListener) EnterGroup_stmt(ctx *parser.Group_stmtContext)

EnterGroup_stmt is called when production group_stmt is entered.

func (*TreeShapeListener) EnterHttp_method_comment

func (s *TreeShapeListener) EnterHttp_method_comment(*parser.Http_method_commentContext)

EnterHttp_method_comment is called when production http_method_comment is entered.

func (*TreeShapeListener) EnterHttp_path

func (s *TreeShapeListener) EnterHttp_path(ctx *parser.Http_pathContext)

EnterHttp_path is called when production http_path is entered.

func (*TreeShapeListener) EnterHttp_path_static

func (s *TreeShapeListener) EnterHttp_path_static(ctx *parser.Http_path_staticContext)

EnterHttp_path_static is called when production http_path_static is entered.

func (*TreeShapeListener) EnterHttp_path_suffix

func (s *TreeShapeListener) EnterHttp_path_suffix(ctx *parser.Http_path_suffixContext)

EnterHttp_path_suffix is called when production http_path_suffix is entered.

func (*TreeShapeListener) EnterHttp_path_var_with_type

func (s *TreeShapeListener) EnterHttp_path_var_with_type(ctx *parser.Http_path_var_with_typeContext)

EnterHttp_path_var_with_type is called when production http_path_var_with_type is entered.

func (*TreeShapeListener) EnterIf_controls

func (s *TreeShapeListener) EnterIf_controls(*parser.If_controlsContext)

EnterIf_controls is called when production if_controls is entered.

func (*TreeShapeListener) EnterIf_else

func (s *TreeShapeListener) EnterIf_else(ctx *parser.If_elseContext)

EnterIf_else is called when production if_else is entered.

func (*TreeShapeListener) EnterIf_multiple_lines

func (s *TreeShapeListener) EnterIf_multiple_lines(ctx *parser.If_multiple_linesContext)

EnterIf_multiple_lines is called when production if_multiple_lines is entered.

func (*TreeShapeListener) EnterIf_one_liner

func (s *TreeShapeListener) EnterIf_one_liner(*parser.If_one_linerContext)

EnterIf_one_liner is called when production if_one_liner is entered.

func (*TreeShapeListener) EnterIf_stmt

func (s *TreeShapeListener) EnterIf_stmt(ctx *parser.If_stmtContext)

EnterIf_stmt is called when production if_stmt is entered.

func (*TreeShapeListener) EnterIfvar

func (s *TreeShapeListener) EnterIfvar(*parser.IfvarContext)

EnterIfvar is called when production ifvar is entered.

func (*TreeShapeListener) EnterImport_stmt

func (s *TreeShapeListener) EnterImport_stmt(ctx *parser.Import_stmtContext)

EnterImport_stmt is called when production import_stmt is entered.

func (*TreeShapeListener) EnterImports_decl

func (s *TreeShapeListener) EnterImports_decl(*parser.Imports_declContext)

EnterImports_decl is called when production imports_decl is entered.

func (*TreeShapeListener) EnterInplace_table

func (s *TreeShapeListener) EnterInplace_table(*parser.Inplace_tableContext)

EnterInplace_table is called when production inplace_table is entered.

func (*TreeShapeListener) EnterInplace_table_def

func (s *TreeShapeListener) EnterInplace_table_def(*parser.Inplace_table_defContext)

EnterInplace_table_def is called when production inplace_table_def is entered.

func (*TreeShapeListener) EnterInplace_tuple

func (s *TreeShapeListener) EnterInplace_tuple(*parser.Inplace_tupleContext)

EnterInplace_tuple is called when production inplace_tuple is entered.

func (*TreeShapeListener) EnterList_item

func (s *TreeShapeListener) EnterList_item(*parser.List_itemContext)

EnterList_item is called when production list_item is entered.

func (*TreeShapeListener) EnterLiteral

func (s *TreeShapeListener) EnterLiteral(*parser.LiteralContext)

EnterLiteral is called when production literal is entered.

func (*TreeShapeListener) EnterMatching_rhs

func (s *TreeShapeListener) EnterMatching_rhs(ctx *parser.Matching_rhsContext)

EnterMatching_rhs is called when production matching_rhs is entered.

func (*TreeShapeListener) EnterMethod_def

func (s *TreeShapeListener) EnterMethod_def(ctx *parser.Method_defContext)

EnterMethod_def is called when production method_def is entered.

func (*TreeShapeListener) EnterMixin

func (s *TreeShapeListener) EnterMixin(*parser.MixinContext)

EnterMixin is called when production mixin is entered.

func (*TreeShapeListener) EnterModel_name

func (s *TreeShapeListener) EnterModel_name(ctx *parser.Model_nameContext)

EnterModel_name is called when production model_name is entered.

func (*TreeShapeListener) EnterModifier

func (s *TreeShapeListener) EnterModifier(*parser.ModifierContext)

EnterModifier is called when production modifier is entered.

func (*TreeShapeListener) EnterModifier_list

func (s *TreeShapeListener) EnterModifier_list(*parser.Modifier_listContext)

EnterModifier_list is called when production modifier_list is entered.

func (*TreeShapeListener) EnterModifiers

func (s *TreeShapeListener) EnterModifiers(*parser.ModifiersContext)

EnterModifiers is called when production modifiers is entered.

func (*TreeShapeListener) EnterMulti_line_docstring

func (s *TreeShapeListener) EnterMulti_line_docstring(*parser.Multi_line_docstringContext)

EnterMulti_line_docstring is called when production multi_line_docstring is entered.

func (*TreeShapeListener) EnterName_str

func (s *TreeShapeListener) EnterName_str(ctx *parser.Name_strContext)

EnterName_str is called when production name_str is entered.

func (*TreeShapeListener) EnterName_with_attribs

func (s *TreeShapeListener) EnterName_with_attribs(ctx *parser.Name_with_attribsContext)

EnterName_with_attribs is called when production name_with_attribs is entered.

func (*TreeShapeListener) EnterNvp

func (s *TreeShapeListener) EnterNvp(*parser.NvpContext)

EnterNvp is called when production nvp is entered.

func (*TreeShapeListener) EnterOne_of_case_label

func (s *TreeShapeListener) EnterOne_of_case_label(*parser.One_of_case_labelContext)

EnterOne_of_case_label is called when production one_of_case_label is entered.

func (*TreeShapeListener) EnterOne_of_cases

func (s *TreeShapeListener) EnterOne_of_cases(ctx *parser.One_of_casesContext)

EnterOne_of_cases is called when production one_of_cases is entered.

func (*TreeShapeListener) EnterOne_of_stmt

func (s *TreeShapeListener) EnterOne_of_stmt(*parser.One_of_stmtContext)

EnterOne_of_stmt is called when production one_of_stmt is entered.

func (*TreeShapeListener) EnterPackage_name

func (s *TreeShapeListener) EnterPackage_name(*parser.Package_nameContext)

EnterPackage_name is called when production package_name is entered.

func (*TreeShapeListener) EnterParam

func (s *TreeShapeListener) EnterParam(ctx *parser.ParamContext)

EnterParam is called when production param is entered.

func (*TreeShapeListener) EnterParam_list

func (s *TreeShapeListener) EnterParam_list(*parser.Param_listContext)

EnterParam_list is called when production param_list is entered.

func (*TreeShapeListener) EnterParams

func (s *TreeShapeListener) EnterParams(*parser.ParamsContext)

EnterParams is called when production params is entered.

func (*TreeShapeListener) EnterPath

func (s *TreeShapeListener) EnterPath(*parser.PathContext)

EnterPath is called when production path is entered.

func (*TreeShapeListener) EnterPower

func (s *TreeShapeListener) EnterPower(*parser.PowerContext)

EnterPower is called when production power is entered.

func (*TreeShapeListener) EnterPowerT

func (s *TreeShapeListener) EnterPowerT(*parser.PowerTContext)

EnterPowerT is called when production powerT is entered.

func (*TreeShapeListener) EnterPublisher

func (s *TreeShapeListener) EnterPublisher(*parser.PublisherContext)

EnterPublisher is called when production publisher is entered.

func (*TreeShapeListener) EnterQuery_param

func (s *TreeShapeListener) EnterQuery_param(*parser.Query_paramContext)

EnterQuery_param is called when production query_param is entered.

func (*TreeShapeListener) EnterQuery_var

func (s *TreeShapeListener) EnterQuery_var(ctx *parser.Query_varContext)

EnterQuery_var is called when production query_var is entered.

func (*TreeShapeListener) EnterQuoted_string

func (s *TreeShapeListener) EnterQuoted_string(*parser.Quoted_stringContext)

EnterQuoted_string is called when production quoted_string is entered.

func (*TreeShapeListener) EnterRank_expr

func (s *TreeShapeListener) EnterRank_expr(*parser.Rank_exprContext)

EnterRank_expr is called when production rank_expr is entered.

func (*TreeShapeListener) EnterRank_expr_list

func (s *TreeShapeListener) EnterRank_expr_list(*parser.Rank_expr_listContext)

EnterRank_expr_list is called when production rank_expr_list is entered.

func (*TreeShapeListener) EnterReference

func (s *TreeShapeListener) EnterReference(*parser.ReferenceContext)

EnterReference is called when production reference is entered.

func (*TreeShapeListener) EnterRelop

func (s *TreeShapeListener) EnterRelop(*parser.RelopContext)

EnterRelop is called when production relop is entered.

func (*TreeShapeListener) EnterRest_endpoint

func (s *TreeShapeListener) EnterRest_endpoint(ctx *parser.Rest_endpointContext)

EnterRest_endpoint is called when production rest_endpoint is entered.

func (*TreeShapeListener) EnterRet_stmt

func (s *TreeShapeListener) EnterRet_stmt(ctx *parser.Ret_stmtContext)

EnterRet_stmt is called when production ret_stmt is entered.

func (*TreeShapeListener) EnterSequence_type

func (s *TreeShapeListener) EnterSequence_type(*parser.Sequence_typeContext)

EnterSequence_type is called when production set_type is entered.

func (*TreeShapeListener) EnterSet_of

func (s *TreeShapeListener) EnterSet_of(*parser.Set_ofContext)

EnterSet_of is called when production set_of is entered.

func (*TreeShapeListener) EnterSet_type

func (s *TreeShapeListener) EnterSet_type(*parser.Set_typeContext)

EnterSet_type is called when production set_type is entered.

func (*TreeShapeListener) EnterShortcut

func (s *TreeShapeListener) EnterShortcut(*parser.ShortcutContext)

EnterShortcut is called when production shortcut is entered.

func (*TreeShapeListener) EnterSimple_endpoint

func (s *TreeShapeListener) EnterSimple_endpoint(ctx *parser.Simple_endpointContext)

EnterSimple_endpoint is called when production api_endpoint is entered.

func (*TreeShapeListener) EnterSize_spec

func (s *TreeShapeListener) EnterSize_spec(*parser.Size_specContext)

EnterSize_spec is called when production size_spec is entered.

func (*TreeShapeListener) EnterSquiggly_args

func (s *TreeShapeListener) EnterSquiggly_args(ctx *parser.Squiggly_argsContext)

EnterSquiggly_args is called when production squiggly_args is entered.

func (*TreeShapeListener) EnterStatements

func (s *TreeShapeListener) EnterStatements(*parser.StatementsContext)

EnterStatements is called when production statements is entered.

func (*TreeShapeListener) EnterSub_package

func (s *TreeShapeListener) EnterSub_package(ctx *parser.Sub_packageContext)

EnterSub_package is called when production sub_package is entered.

func (*TreeShapeListener) EnterSubscribe

func (s *TreeShapeListener) EnterSubscribe(ctx *parser.SubscribeContext)

EnterSubscribe is called when production subscribe is entered.

func (*TreeShapeListener) EnterSubscriber

func (s *TreeShapeListener) EnterSubscriber(*parser.SubscriberContext)

EnterSubscriber is called when production subscriber is entered.

func (*TreeShapeListener) EnterSysl_file

func (s *TreeShapeListener) EnterSysl_file(ctx *parser.Sysl_fileContext)

EnterSysl_file is called when production sysl_file is entered.

func (*TreeShapeListener) EnterTable

func (s *TreeShapeListener) EnterTable(ctx *parser.TableContext)

EnterTable is called when production table is entered.

func (*TreeShapeListener) EnterTable_def

func (s *TreeShapeListener) EnterTable_def(ctx *parser.Table_defContext)

EnterTable_def is called when production table_def is entered.

func (*TreeShapeListener) EnterTable_refs

func (s *TreeShapeListener) EnterTable_refs(ctx *parser.Table_refsContext)

EnterTable_refs is called when production table_refs is entered.

func (*TreeShapeListener) EnterTable_stmts

func (s *TreeShapeListener) EnterTable_stmts(ctx *parser.Table_stmtsContext)

EnterTable_stmts is called when production table_stmts is entered.

func (*TreeShapeListener) EnterTarget

func (s *TreeShapeListener) EnterTarget(*parser.TargetContext)

EnterTarget is called when production target is entered.

func (*TreeShapeListener) EnterTarget_endpoint

func (s *TreeShapeListener) EnterTarget_endpoint(*parser.Target_endpointContext)

EnterTarget_endpoint is called when production target_endpoint is entered.

func (*TreeShapeListener) EnterTerm

func (s *TreeShapeListener) EnterTerm(*parser.TermContext)

EnterTerm is called when production term is entered.

func (*TreeShapeListener) EnterTermT

func (s *TreeShapeListener) EnterTermT(*parser.TermTContext)

EnterTermT is called when production termT is entered.

func (*TreeShapeListener) EnterText_stmt

func (s *TreeShapeListener) EnterText_stmt(ctx *parser.Text_stmtContext)

EnterText_stmt is called when production text_stmt is entered.

func (*TreeShapeListener) EnterTransform

func (s *TreeShapeListener) EnterTransform(*parser.TransformContext)

EnterTransform is called when production transform is entered.

func (*TreeShapeListener) EnterTransform_arg

func (s *TreeShapeListener) EnterTransform_arg(*parser.Transform_argContext)

EnterTransform_arg is called when production transform_arg is entered.

func (*TreeShapeListener) EnterTransform_return_type

func (s *TreeShapeListener) EnterTransform_return_type(ctx *parser.Transform_return_typeContext)

EnterTransform_return_type is called when production transform_return_type is entered.

func (*TreeShapeListener) EnterTransform_scope_var

func (s *TreeShapeListener) EnterTransform_scope_var(ctx *parser.Transform_scope_varContext)

EnterTransform_scope_var is called when production transform_scope_var is entered.

func (*TreeShapeListener) EnterTypes

func (s *TreeShapeListener) EnterTypes(ctx *parser.TypesContext)

EnterTypes is called when production types is entered.

func (*TreeShapeListener) EnterUnaryTerm

func (s *TreeShapeListener) EnterUnaryTerm(*parser.UnaryTermContext)

EnterUnaryTerm is called when production unaryTerm is entered.

func (*TreeShapeListener) EnterUnion

func (s *TreeShapeListener) EnterUnion(ctx *parser.UnionContext)

EnterUnion is called when production union is entered.

func (*TreeShapeListener) EnterUser_defined_type

func (s *TreeShapeListener) EnterUser_defined_type(ctx *parser.User_defined_typeContext)

EnterUser_defined_type is called when production user_defined_type is entered.

func (*TreeShapeListener) EnterView

func (s *TreeShapeListener) EnterView(ctx *parser.ViewContext)

EnterView is called when production view is entered.

func (*TreeShapeListener) EnterView_param

func (s *TreeShapeListener) EnterView_param(ctx *parser.View_paramContext)

EnterView_param is called when production view_param is entered.

func (*TreeShapeListener) EnterView_params

func (s *TreeShapeListener) EnterView_params(*parser.View_paramsContext)

EnterView_params is called when production view_params is entered.

func (*TreeShapeListener) EnterView_return_type

func (s *TreeShapeListener) EnterView_return_type(*parser.View_return_typeContext)

EnterView_return_type is called when production view_return_type is entered.

func (*TreeShapeListener) EnterView_type_spec

func (s *TreeShapeListener) EnterView_type_spec(*parser.View_type_specContext)

EnterView_type_spec is called when production view_type_spec is entered.

func (*TreeShapeListener) ExitAlias

func (s *TreeShapeListener) ExitAlias(ctx *parser.AliasContext)

ExitAlias is called when production alias is exited.

func (*TreeShapeListener) ExitAnnotation

func (s *TreeShapeListener) ExitAnnotation(*parser.AnnotationContext)

ExitAnnotation is called when production annotation is exited.

func (*TreeShapeListener) ExitAnnotation_value

func (s *TreeShapeListener) ExitAnnotation_value(ctx *parser.Annotation_valueContext)

ExitAnnotation_value is called when production annotation_value is exited.

func (*TreeShapeListener) ExitAnnotations

func (s *TreeShapeListener) ExitAnnotations(*parser.AnnotationsContext)

ExitAnnotations is called when production annotations is exited.

func (*TreeShapeListener) ExitApp_decl

func (s *TreeShapeListener) ExitApp_decl(ctx *parser.App_declContext)

ExitApp_decl is called when production app_decl is exited.

func (*TreeShapeListener) ExitApp_name

func (s *TreeShapeListener) ExitApp_name(*parser.App_nameContext)

ExitApp_name is called when production app_name is exited.

func (*TreeShapeListener) ExitApplication

func (s *TreeShapeListener) ExitApplication(*parser.ApplicationContext)

ExitApplication is called when production application is exited.

func (*TreeShapeListener) ExitArray_of_arrays

func (s *TreeShapeListener) ExitArray_of_arrays(*parser.Array_of_arraysContext)

ExitArray_of_arrays is called when production array_of_arrays is exited.

func (*TreeShapeListener) ExitArray_of_strings

func (s *TreeShapeListener) ExitArray_of_strings(*parser.Array_of_stringsContext)

ExitArray_of_strings is called when production array_of_strings is exited.

func (*TreeShapeListener) ExitAtom

func (s *TreeShapeListener) ExitAtom(*parser.AtomContext)

ExitAtom is called when production atom is exited.

func (*TreeShapeListener) ExitAtomT

func (s *TreeShapeListener) ExitAtomT(*parser.AtomTContext)

ExitAtomT is called when production atomT is exited.

func (*TreeShapeListener) ExitAtomT_implied_dot

func (s *TreeShapeListener) ExitAtomT_implied_dot(*parser.AtomT_implied_dotContext)

ExitAtomT_implied_dot is called when production atomT_implied_dot is exited.

func (*TreeShapeListener) ExitAtomT_name

func (s *TreeShapeListener) ExitAtomT_name(ctx *parser.AtomT_nameContext)

ExitAtomT_name is called when production atomT_name is exited.

func (*TreeShapeListener) ExitAtomT_paren

func (s *TreeShapeListener) ExitAtomT_paren(*parser.AtomT_parenContext)

ExitAtomT_paren is called when production atomT_paren is exited.

func (*TreeShapeListener) ExitAtom_dot_relop

func (s *TreeShapeListener) ExitAtom_dot_relop(*parser.Atom_dot_relopContext)

ExitAtom_dot_relop is called when production atom_dot_relop is exited.

func (*TreeShapeListener) ExitAttribs_or_modifiers

func (s *TreeShapeListener) ExitAttribs_or_modifiers(*parser.Attribs_or_modifiersContext)

ExitAttribs_or_modifiers is called when production attribs_or_modifiers is exited.

func (*TreeShapeListener) ExitAttributes

func (s *TreeShapeListener) ExitAttributes(*parser.AttributesContext)

ExitAttributes is called when production attributes is exited.

func (*TreeShapeListener) ExitBinexpr

func (s *TreeShapeListener) ExitBinexpr(*parser.BinexprContext)

ExitBinexpr is called when production binexpr is exited.

func (*TreeShapeListener) ExitBinexprT

func (s *TreeShapeListener) ExitBinexprT(ctx *parser.BinexprTContext)

ExitBinexprT is called when production binexprT is exited.

func (*TreeShapeListener) ExitCall_arg

func (s *TreeShapeListener) ExitCall_arg(*parser.Call_argContext)

ExitCall_arg is called when production call_arg is exited.

func (*TreeShapeListener) ExitCall_args

func (s *TreeShapeListener) ExitCall_args(*parser.Call_argsContext)

ExitCall_args is called when production call_args is exited.

func (*TreeShapeListener) ExitCall_stmt

func (s *TreeShapeListener) ExitCall_stmt(*parser.Call_stmtContext)

ExitCall_stmt is called when production call_stmt is exited.

func (*TreeShapeListener) ExitCollection_type

func (s *TreeShapeListener) ExitCollection_type(*parser.Collection_typeContext)

ExitCollection_type is called when production collection_type is exited.

func (*TreeShapeListener) ExitCollector

func (s *TreeShapeListener) ExitCollector(ctx *parser.CollectorContext)

ExitCollector is called when production collector is exited.

func (*TreeShapeListener) ExitCollector_action_stmt

func (s *TreeShapeListener) ExitCollector_action_stmt(*parser.Collector_action_stmtContext)

ExitCollector_action_stmt is called when production collector_action_stmt is exited.

func (*TreeShapeListener) ExitCollector_call_stmt

func (s *TreeShapeListener) ExitCollector_call_stmt(*parser.Collector_call_stmtContext)

ExitCollector_call_stmt is called when production collector_call_stmt is exited.

func (*TreeShapeListener) ExitCollector_http_stmt

func (s *TreeShapeListener) ExitCollector_http_stmt(*parser.Collector_http_stmtContext)

ExitCollector_http_stmt is called when production collector_http_stmt is exited.

func (*TreeShapeListener) ExitCollector_http_stmt_part

func (s *TreeShapeListener) ExitCollector_http_stmt_part(ctx *parser.Collector_http_stmt_partContext)

ExitCollector_http_stmt_part is called when production collector_http_stmt_part is exited.

func (*TreeShapeListener) ExitCollector_pubsub_call

func (s *TreeShapeListener) ExitCollector_pubsub_call(*parser.Collector_pubsub_callContext)

ExitCollector_pubsub_call is called when production collector_pubsub_call is exited.

func (*TreeShapeListener) ExitCollector_query_param

func (s *TreeShapeListener) ExitCollector_query_param(*parser.Collector_query_paramContext)

ExitCollector_query_param is called when production collector_query_param is exited.

func (*TreeShapeListener) ExitCollector_query_var

func (s *TreeShapeListener) ExitCollector_query_var(*parser.Collector_query_varContext)

ExitCollector_query_var is called when production collector_query_var is exited.

func (*TreeShapeListener) ExitCollector_stmts

func (s *TreeShapeListener) ExitCollector_stmts(ctx *parser.Collector_stmtsContext)

ExitCollector_stmts is called when production collector_stmts is exited.

func (*TreeShapeListener) ExitCond_block

func (s *TreeShapeListener) ExitCond_block(*parser.Cond_blockContext)

ExitCond_block is called when production cond_block is exited.

func (*TreeShapeListener) ExitControl_item

func (s *TreeShapeListener) ExitControl_item(*parser.Control_itemContext)

ExitControl_item is called when production control_item is exited.

func (*TreeShapeListener) ExitDoc_string

func (s *TreeShapeListener) ExitDoc_string(*parser.Doc_stringContext)

ExitDoc_string is called when production doc_string is exited.

func (*TreeShapeListener) ExitDocumentation_stmts

func (s *TreeShapeListener) ExitDocumentation_stmts(*parser.Documentation_stmtsContext)

ExitDocumentation_stmts is called when production documentation_stmts is exited.

func (*TreeShapeListener) ExitE_compare_ops

func (s *TreeShapeListener) ExitE_compare_ops(*parser.E_compare_opsContext)

ExitE_compare_ops is called when production e_compare_ops is exited.

func (*TreeShapeListener) ExitE_scope_var

func (s *TreeShapeListener) ExitE_scope_var(ctx *parser.E_scope_varContext)

ExitE_scope_var is called when production e_scope_var is exited.

func (*TreeShapeListener) ExitE_single_arg_func

func (s *TreeShapeListener) ExitE_single_arg_func(ctx *parser.E_single_arg_funcContext)

ExitE_single_arg_func is called when production e_single_arg_func is exited.

func (*TreeShapeListener) ExitElse_block_stmt

func (s *TreeShapeListener) ExitElse_block_stmt(*parser.Else_block_stmtContext)

ExitElse_block_stmt is called when production else_block_stmt is exited.

func (*TreeShapeListener) ExitElse_stmt

func (s *TreeShapeListener) ExitElse_stmt(*parser.Else_stmtContext)

ExitElse_stmt is called when production else_stmt is exited.

func (*TreeShapeListener) ExitEmpty_tuple

func (s *TreeShapeListener) ExitEmpty_tuple(*parser.Empty_tupleContext)

ExitEmpty_tuple is called when production empty_tuple is exited.

func (*TreeShapeListener) ExitEndpoint_name

func (s *TreeShapeListener) ExitEndpoint_name(*parser.Endpoint_nameContext)

ExitEndpoint_name is called when production endpoint_name is exited.

func (*TreeShapeListener) ExitEntry

func (s *TreeShapeListener) ExitEntry(*parser.EntryContext)

ExitEntry is called when production entry is exited.

func (*TreeShapeListener) ExitEvent

func (s *TreeShapeListener) ExitEvent(ctx *parser.EventContext)

ExitEvent is called when production event is exited.

func (*TreeShapeListener) ExitEveryRule

func (s *TreeShapeListener) ExitEveryRule(antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*TreeShapeListener) ExitExpr

func (s *TreeShapeListener) ExitExpr(*parser.ExprContext)

ExitExpr is called when production expr is exited.

func (*TreeShapeListener) ExitExpr_agg_func

func (s *TreeShapeListener) ExitExpr_agg_func(*parser.Expr_agg_funcContext)

ExitExpr_agg_func is called when production expr_agg_func is exited.

func (*TreeShapeListener) ExitExpr_and

func (s *TreeShapeListener) ExitExpr_and(ctx *parser.Expr_andContext)

ExitExpr_and is called when production expr_and is exited.

func (*TreeShapeListener) ExitExpr_any_func

func (s *TreeShapeListener) ExitExpr_any_func(*parser.Expr_any_funcContext)

ExitExpr_any_func is called when production expr_any_func is exited.

func (*TreeShapeListener) ExitExpr_assign

func (s *TreeShapeListener) ExitExpr_assign(*parser.Expr_assignContext)

ExitExpr_assign is called when production expr_assign is exited.

func (*TreeShapeListener) ExitExpr_atom_list

func (s *TreeShapeListener) ExitExpr_atom_list(*parser.Expr_atom_listContext)

ExitExpr_atom_list is called when production expr_atom_list is exited.

func (*TreeShapeListener) ExitExpr_bitand

func (s *TreeShapeListener) ExitExpr_bitand(ctx *parser.Expr_bitandContext)

ExitExpr_bitand is called when production expr_bitand is exited.

func (*TreeShapeListener) ExitExpr_bitor

func (s *TreeShapeListener) ExitExpr_bitor(ctx *parser.Expr_bitorContext)

ExitExpr_bitor is called when production expr_bitor is exited.

func (*TreeShapeListener) ExitExpr_bitxor

func (s *TreeShapeListener) ExitExpr_bitxor(ctx *parser.Expr_bitxorContext)

ExitExpr_bitxor is called when production expr_bitxor is exited.

func (*TreeShapeListener) ExitExpr_block

func (s *TreeShapeListener) ExitExpr_block(*parser.Expr_blockContext)

ExitExpr_block is called when production expr_block is exited.

func (*TreeShapeListener) ExitExpr_but_not

func (s *TreeShapeListener) ExitExpr_but_not(ctx *parser.Expr_but_notContext)

ExitExpr_but_not is called when production expr_but_not is exited.

func (*TreeShapeListener) ExitExpr_coalesce

func (s *TreeShapeListener) ExitExpr_coalesce(ctx *parser.Expr_coalesceContext)

ExitExpr_coalesce is called when production expr_coalesce is exited.

func (*TreeShapeListener) ExitExpr_count

func (s *TreeShapeListener) ExitExpr_count(*parser.Expr_countContext)

ExitExpr_count is called when production expr_count is exited.

func (*TreeShapeListener) ExitExpr_dot_assign

func (s *TreeShapeListener) ExitExpr_dot_assign(ctx *parser.Expr_dot_assignContext)

ExitExpr_dot_assign is called when production expr_dot_assign is exited.

func (*TreeShapeListener) ExitExpr_first_func

func (s *TreeShapeListener) ExitExpr_first_func(*parser.Expr_first_funcContext)

ExitExpr_first_func is called when production expr_first_func is exited.

func (*TreeShapeListener) ExitExpr_func

func (s *TreeShapeListener) ExitExpr_func(*parser.Expr_funcContext)

ExitExpr_func is called when production expr_func is exited.

func (*TreeShapeListener) ExitExpr_if_else

func (s *TreeShapeListener) ExitExpr_if_else(*parser.Expr_if_elseContext)

ExitExpr_if_else is called when production expr_if_else is exited.

func (*TreeShapeListener) ExitExpr_inject_stmt

func (s *TreeShapeListener) ExitExpr_inject_stmt(*parser.Expr_inject_stmtContext)

ExitExpr_inject_stmt is called when production expr_inject_stmt is exited.

func (*TreeShapeListener) ExitExpr_let_statement

func (s *TreeShapeListener) ExitExpr_let_statement(ctx *parser.Expr_let_statementContext)

ExitExpr_let_statement is called when production expr_let_statement is exited.

func (*TreeShapeListener) ExitExpr_list

func (s *TreeShapeListener) ExitExpr_list(*parser.Expr_listContext)

ExitExpr_list is called when production expr_list is exited.

func (*TreeShapeListener) ExitExpr_matching

func (s *TreeShapeListener) ExitExpr_matching(*parser.Expr_matchingContext)

ExitExpr_matching is called when production expr_matching is exited.

func (*TreeShapeListener) ExitExpr_navigate

func (s *TreeShapeListener) ExitExpr_navigate(*parser.Expr_navigateContext)

ExitExpr_navigate is called when production expr_navigate is exited.

func (*TreeShapeListener) ExitExpr_navigate_attr

func (s *TreeShapeListener) ExitExpr_navigate_attr(ctx *parser.Expr_navigate_attrContext)

ExitExpr_navigate_attr is called when production expr_navigate_attr is exited.

func (*TreeShapeListener) ExitExpr_or

func (s *TreeShapeListener) ExitExpr_or(ctx *parser.Expr_orContext)

ExitExpr_or is called when production expr_or is exited.

func (*TreeShapeListener) ExitExpr_rank_func

func (s *TreeShapeListener) ExitExpr_rank_func(*parser.Expr_rank_funcContext)

ExitExpr_rank_func is called when production expr_rank_func is exited.

func (*TreeShapeListener) ExitExpr_rel

func (s *TreeShapeListener) ExitExpr_rel(ctx *parser.Expr_relContext)

ExitExpr_rel is called when production expr_rel is exited.

func (*TreeShapeListener) ExitExpr_set

func (s *TreeShapeListener) ExitExpr_set(*parser.Expr_setContext)

ExitExpr_set is called when production expr_set is exited.

func (*TreeShapeListener) ExitExpr_simple_assign

func (s *TreeShapeListener) ExitExpr_simple_assign(ctx *parser.Expr_simple_assignContext)

ExitExpr_simple_assign is called when production expr_simple_assign is exited.

func (*TreeShapeListener) ExitExpr_single_arg_func

func (s *TreeShapeListener) ExitExpr_single_arg_func(ctx *parser.Expr_single_arg_funcContext)

ExitExpr_single_arg_func is called when production expr_single_arg_func is exited.

func (*TreeShapeListener) ExitExpr_single_or_null

func (s *TreeShapeListener) ExitExpr_single_or_null(ctx *parser.Expr_single_or_nullContext)

ExitExpr_single_or_null is called when production expr_single_or_null is exited.

func (*TreeShapeListener) ExitExpr_snapshot

func (s *TreeShapeListener) ExitExpr_snapshot(*parser.Expr_snapshotContext)

ExitExpr_snapshot is called when production expr_snapshot is exited.

func (*TreeShapeListener) ExitExpr_statement

func (s *TreeShapeListener) ExitExpr_statement(*parser.Expr_statementContext)

ExitExpr_statement is called when production expr_statement is exited.

func (*TreeShapeListener) ExitExpr_statement_no_nl

func (s *TreeShapeListener) ExitExpr_statement_no_nl(*parser.Expr_statement_no_nlContext)

ExitExpr_statement_no_nl is called when production expr_statement_no_nl is exited.

func (*TreeShapeListener) ExitExpr_stmt

func (s *TreeShapeListener) ExitExpr_stmt(*parser.Expr_stmtContext)

ExitExpr_stmt is called when production expr_stmt is exited.

func (*TreeShapeListener) ExitExpr_table_of_op

func (s *TreeShapeListener) ExitExpr_table_of_op(ctx *parser.Expr_table_of_opContext)

ExitExpr_table_of_op is called when production expr_table_of_op is exited.

func (*TreeShapeListener) ExitExpr_table_of_statement

func (s *TreeShapeListener) ExitExpr_table_of_statement(ctx *parser.Expr_table_of_statementContext)

ExitExpr_table_of_statement is called when production expr_table_of_statement is exited.

func (*TreeShapeListener) ExitFacade

func (s *TreeShapeListener) ExitFacade(*parser.FacadeContext)

ExitFacade is called when production facade is exited.

func (*TreeShapeListener) ExitField

func (s *TreeShapeListener) ExitField(ctx *parser.FieldContext)

ExitField is called when production field is exited.

func (*TreeShapeListener) ExitField_type

func (s *TreeShapeListener) ExitField_type(ctx *parser.Field_typeContext)

ExitField_type is called when production field_type is exited.

func (*TreeShapeListener) ExitFinal_else

func (s *TreeShapeListener) ExitFinal_else(*parser.Final_elseContext)

ExitFinal_else is called when production final_else is exited.

func (*TreeShapeListener) ExitFirst_func_target

func (s *TreeShapeListener) ExitFirst_func_target(ctx *parser.First_func_targetContext)

ExitFirst_func_target is called when production first_func_target is exited.

func (*TreeShapeListener) ExitFor_stmt

func (s *TreeShapeListener) ExitFor_stmt(*parser.For_stmtContext)

ExitFor_stmt is called when production for_stmt is exited.

func (*TreeShapeListener) ExitFunc_arg

func (s *TreeShapeListener) ExitFunc_arg(*parser.Func_argContext)

ExitFunc_arg is called when production func_arg is exited.

func (*TreeShapeListener) ExitFunc_args

func (s *TreeShapeListener) ExitFunc_args(*parser.Func_argsContext)

ExitFunc_args is called when production func_args is exited.

func (*TreeShapeListener) ExitGroup_stmt

func (s *TreeShapeListener) ExitGroup_stmt(*parser.Group_stmtContext)

ExitGroup_stmt is called when production group_stmt is exited.

func (*TreeShapeListener) ExitHttp_method_comment

func (s *TreeShapeListener) ExitHttp_method_comment(*parser.Http_method_commentContext)

ExitHttp_method_comment is called when production http_method_comment is exited.

func (*TreeShapeListener) ExitHttp_path

func (s *TreeShapeListener) ExitHttp_path(*parser.Http_pathContext)

ExitHttp_path is called when production http_path is exited.

func (*TreeShapeListener) ExitHttp_path_static

func (s *TreeShapeListener) ExitHttp_path_static(*parser.Http_path_staticContext)

ExitHttp_path_static is called when production http_path_static is exited.

func (*TreeShapeListener) ExitHttp_path_suffix

func (s *TreeShapeListener) ExitHttp_path_suffix(*parser.Http_path_suffixContext)

ExitHttp_path_suffix is called when production http_path_suffix is exited.

func (*TreeShapeListener) ExitHttp_path_var_with_type

func (s *TreeShapeListener) ExitHttp_path_var_with_type(ctx *parser.Http_path_var_with_typeContext)

ExitHttp_path_var_with_type is called when production http_path_var_with_type is exited.

func (*TreeShapeListener) ExitIf_controls

func (s *TreeShapeListener) ExitIf_controls(*parser.If_controlsContext)

ExitIf_controls is called when production if_controls is exited.

func (*TreeShapeListener) ExitIf_else

func (s *TreeShapeListener) ExitIf_else(ctx *parser.If_elseContext)

ExitIf_else is called when production if_else is exited.

func (*TreeShapeListener) ExitIf_multiple_lines

func (s *TreeShapeListener) ExitIf_multiple_lines(*parser.If_multiple_linesContext)

ExitIf_multiple_lines is called when production if_multiple_lines is exited.

func (*TreeShapeListener) ExitIf_one_liner

func (s *TreeShapeListener) ExitIf_one_liner(ctx *parser.If_one_linerContext)

ExitIf_one_liner is called when production if_one_liner is exited.

func (*TreeShapeListener) ExitIf_stmt

func (s *TreeShapeListener) ExitIf_stmt(*parser.If_stmtContext)

ExitIf_stmt is called when production if_stmt is exited.

func (*TreeShapeListener) ExitIfvar

func (s *TreeShapeListener) ExitIfvar(*parser.IfvarContext)

ExitIfvar is called when production ifvar is exited.

func (*TreeShapeListener) ExitImport_stmt

func (s *TreeShapeListener) ExitImport_stmt(*parser.Import_stmtContext)

ExitImport_stmt is called when production import_stmt is exited.

func (*TreeShapeListener) ExitImports_decl

func (s *TreeShapeListener) ExitImports_decl(*parser.Imports_declContext)

ExitImports_decl is called when production imports_decl is exited.

func (*TreeShapeListener) ExitInplace_table

func (s *TreeShapeListener) ExitInplace_table(*parser.Inplace_tableContext)

ExitInplace_table is called when production inplace_table is exited.

func (*TreeShapeListener) ExitInplace_table_def

func (s *TreeShapeListener) ExitInplace_table_def(*parser.Inplace_table_defContext)

ExitInplace_table_def is called when production inplace_table_def is exited.

func (*TreeShapeListener) ExitInplace_tuple

func (s *TreeShapeListener) ExitInplace_tuple(*parser.Inplace_tupleContext)

ExitInplace_tuple is called when production inplace_tuple is exited.

func (*TreeShapeListener) ExitList_item

func (s *TreeShapeListener) ExitList_item(*parser.List_itemContext)

ExitList_item is called when production list_item is exited.

func (*TreeShapeListener) ExitLiteral

func (s *TreeShapeListener) ExitLiteral(ctx *parser.LiteralContext)

ExitLiteral is called when production literal is exited.

func (*TreeShapeListener) ExitMatching_rhs

func (s *TreeShapeListener) ExitMatching_rhs(ctx *parser.Matching_rhsContext)

ExitMatching_rhs is called when production matching_rhs is exited.

func (*TreeShapeListener) ExitMethod_def

func (s *TreeShapeListener) ExitMethod_def(*parser.Method_defContext)

ExitMethod_def is called when production method_def is exited.

func (*TreeShapeListener) ExitMixin

func (s *TreeShapeListener) ExitMixin(*parser.MixinContext)

ExitMixin is called when production mixin is exited.

func (*TreeShapeListener) ExitModel_name

func (s *TreeShapeListener) ExitModel_name(*parser.Model_nameContext)

ExitModel_name is called when production model_name is exited.

func (*TreeShapeListener) ExitModifier

func (s *TreeShapeListener) ExitModifier(*parser.ModifierContext)

ExitModifier is called when production modifier is exited.

func (*TreeShapeListener) ExitModifier_list

func (s *TreeShapeListener) ExitModifier_list(*parser.Modifier_listContext)

ExitModifier_list is called when production modifier_list is exited.

func (*TreeShapeListener) ExitModifiers

func (s *TreeShapeListener) ExitModifiers(*parser.ModifiersContext)

ExitModifiers is called when production modifiers is exited.

func (*TreeShapeListener) ExitMulti_line_docstring

func (s *TreeShapeListener) ExitMulti_line_docstring(*parser.Multi_line_docstringContext)

ExitMulti_line_docstring is called when production multi_line_docstring is exited.

func (*TreeShapeListener) ExitName_str

func (s *TreeShapeListener) ExitName_str(*parser.Name_strContext)

ExitName_str is called when production name_str is exited.

func (*TreeShapeListener) ExitName_with_attribs

func (s *TreeShapeListener) ExitName_with_attribs(*parser.Name_with_attribsContext)

ExitName_with_attribs is called when production name_with_attribs is exited.

func (*TreeShapeListener) ExitNvp

func (s *TreeShapeListener) ExitNvp(*parser.NvpContext)

ExitNvp is called when production nvp is exited.

func (*TreeShapeListener) ExitOne_of_case_label

func (s *TreeShapeListener) ExitOne_of_case_label(*parser.One_of_case_labelContext)

ExitOne_of_case_label is called when production one_of_case_label is exited.

func (*TreeShapeListener) ExitOne_of_cases

func (s *TreeShapeListener) ExitOne_of_cases(*parser.One_of_casesContext)

ExitOne_of_cases is called when production one_of_cases is exited.

func (*TreeShapeListener) ExitOne_of_stmt

func (s *TreeShapeListener) ExitOne_of_stmt(*parser.One_of_stmtContext)

ExitOne_of_stmt is called when production one_of_stmt is exited.

func (*TreeShapeListener) ExitPackage_name

func (s *TreeShapeListener) ExitPackage_name(*parser.Package_nameContext)

ExitPackage_name is called when production package_name is exited.

func (*TreeShapeListener) ExitParam

func (s *TreeShapeListener) ExitParam(ctx *parser.ParamContext)

ExitParam is called when production param is exited.

func (*TreeShapeListener) ExitParam_list

func (s *TreeShapeListener) ExitParam_list(*parser.Param_listContext)

ExitParam_list is called when production param_list is exited.

func (*TreeShapeListener) ExitParams

func (s *TreeShapeListener) ExitParams(*parser.ParamsContext)

ExitParams is called when production params is exited.

func (*TreeShapeListener) ExitPath

func (s *TreeShapeListener) ExitPath(*parser.PathContext)

ExitPath is called when production path is exited.

func (*TreeShapeListener) ExitPower

func (s *TreeShapeListener) ExitPower(ctx *parser.PowerContext)

ExitPower is called when production power is exited.

func (*TreeShapeListener) ExitPowerT

func (s *TreeShapeListener) ExitPowerT(*parser.PowerTContext)

ExitPowerT is called when production powerT is exited.

func (*TreeShapeListener) ExitPublisher

func (s *TreeShapeListener) ExitPublisher(*parser.PublisherContext)

ExitPublisher is called when production publisher is exited.

func (*TreeShapeListener) ExitQuery_param

func (s *TreeShapeListener) ExitQuery_param(*parser.Query_paramContext)

ExitQuery_param is called when production query_param is exited.

func (*TreeShapeListener) ExitQuery_var

func (s *TreeShapeListener) ExitQuery_var(*parser.Query_varContext)

ExitQuery_var is called when production query_var is exited.

func (*TreeShapeListener) ExitQuoted_string

func (s *TreeShapeListener) ExitQuoted_string(*parser.Quoted_stringContext)

ExitQuoted_string is called when production quoted_string is exited.

func (*TreeShapeListener) ExitRank_expr

func (s *TreeShapeListener) ExitRank_expr(ctx *parser.Rank_exprContext)

ExitRank_expr is called when production rank_expr is exited.

func (*TreeShapeListener) ExitRank_expr_list

func (s *TreeShapeListener) ExitRank_expr_list(*parser.Rank_expr_listContext)

ExitRank_expr_list is called when production rank_expr_list is exited.

func (*TreeShapeListener) ExitReference

func (s *TreeShapeListener) ExitReference(ctx *parser.ReferenceContext)

ExitReference is called when production reference is exited.

func (*TreeShapeListener) ExitRelop

func (s *TreeShapeListener) ExitRelop(*parser.RelopContext)

ExitRelop is called when production relop is exited.

func (*TreeShapeListener) ExitRest_endpoint

func (s *TreeShapeListener) ExitRest_endpoint(*parser.Rest_endpointContext)

ExitRest_endpoint is called when production rest_endpoint is exited.

func (*TreeShapeListener) ExitRet_stmt

func (s *TreeShapeListener) ExitRet_stmt(*parser.Ret_stmtContext)

ExitRet_stmt is called when production ret_stmt is exited.

func (*TreeShapeListener) ExitSequence_type

func (s *TreeShapeListener) ExitSequence_type(ctx *parser.Sequence_typeContext)

ExitSequence_type is called when production set_type is exited.

func (*TreeShapeListener) ExitSet_of

func (s *TreeShapeListener) ExitSet_of(*parser.Set_ofContext)

ExitSet_of is called when production set_of is exited.

func (*TreeShapeListener) ExitSet_type

func (s *TreeShapeListener) ExitSet_type(ctx *parser.Set_typeContext)

ExitSet_type is called when production set_type is exited.

func (*TreeShapeListener) ExitShortcut

func (s *TreeShapeListener) ExitShortcut(*parser.ShortcutContext)

ExitShortcut is called when production shortcut is exited.

func (*TreeShapeListener) ExitSimple_endpoint

func (s *TreeShapeListener) ExitSimple_endpoint(ctx *parser.Simple_endpointContext)

ExitSimple_endpoint is called when production simple_endpoint is exited.

func (*TreeShapeListener) ExitSize_spec

func (s *TreeShapeListener) ExitSize_spec(*parser.Size_specContext)

ExitSize_spec is called when production size_spec is exited.

func (*TreeShapeListener) ExitSquiggly_args

func (s *TreeShapeListener) ExitSquiggly_args(*parser.Squiggly_argsContext)

ExitSquiggly_args is called when production squiggly_args is exited.

func (*TreeShapeListener) ExitStatements

func (s *TreeShapeListener) ExitStatements(ctx *parser.StatementsContext)

ExitStatements is called when production statements is exited.

func (*TreeShapeListener) ExitSub_package

func (s *TreeShapeListener) ExitSub_package(ctx *parser.Sub_packageContext)

ExitSub_package is called when production sub_package is exited.

func (*TreeShapeListener) ExitSubscribe

func (s *TreeShapeListener) ExitSubscribe(ctx *parser.SubscribeContext)

ExitSubscribe is called when production subscribe is exited.

func (*TreeShapeListener) ExitSubscriber

func (s *TreeShapeListener) ExitSubscriber(*parser.SubscriberContext)

ExitSubscriber is called when production subscriber is exited.

func (*TreeShapeListener) ExitSysl_file

func (s *TreeShapeListener) ExitSysl_file(*parser.Sysl_fileContext)

ExitSysl_file is called when production sysl_file is exited.

func (*TreeShapeListener) ExitTable

func (s *TreeShapeListener) ExitTable(ctx *parser.TableContext)

ExitTable is called when production table is exited.

func (*TreeShapeListener) ExitTable_def

func (s *TreeShapeListener) ExitTable_def(*parser.Table_defContext)

ExitTable_def is called when production table_def is exited.

func (*TreeShapeListener) ExitTable_refs

func (s *TreeShapeListener) ExitTable_refs(*parser.Table_refsContext)

ExitTable_refs is called when production table_refs is exited.

func (*TreeShapeListener) ExitTable_stmts

func (s *TreeShapeListener) ExitTable_stmts(*parser.Table_stmtsContext)

ExitTable_stmts is called when production table_stmts is exited.

func (*TreeShapeListener) ExitTarget

func (s *TreeShapeListener) ExitTarget(*parser.TargetContext)

ExitTarget is called when production target is exited.

func (*TreeShapeListener) ExitTarget_endpoint

func (s *TreeShapeListener) ExitTarget_endpoint(*parser.Target_endpointContext)

ExitTarget_endpoint is called when production target_endpoint is exited.

func (*TreeShapeListener) ExitTerm

func (s *TreeShapeListener) ExitTerm(*parser.TermContext)

ExitTerm is called when production term is exited.

func (*TreeShapeListener) ExitTermT

func (s *TreeShapeListener) ExitTermT(ctx *parser.TermTContext)

ExitTermT is called when production termT is exited.

func (*TreeShapeListener) ExitText_stmt

func (s *TreeShapeListener) ExitText_stmt(*parser.Text_stmtContext)

ExitText_stmt is called when production text_stmt is exited.

func (*TreeShapeListener) ExitTransform

func (s *TreeShapeListener) ExitTransform(*parser.TransformContext)

ExitTransform is called when production transform is exited.

func (*TreeShapeListener) ExitTransform_arg

func (s *TreeShapeListener) ExitTransform_arg(*parser.Transform_argContext)

ExitTransform_arg is called when production transform_arg is exited.

func (*TreeShapeListener) ExitTransform_return_type

func (s *TreeShapeListener) ExitTransform_return_type(ctx *parser.Transform_return_typeContext)

ExitTransform_return_type is called when production transform_return_type is exited.

func (*TreeShapeListener) ExitTransform_scope_var

func (s *TreeShapeListener) ExitTransform_scope_var(*parser.Transform_scope_varContext)

ExitTransform_scope_var is called when production transform_scope_var is exited.

func (*TreeShapeListener) ExitTypes

func (s *TreeShapeListener) ExitTypes(*parser.TypesContext)

ExitTypes is called when production types is exited.

func (*TreeShapeListener) ExitUnaryTerm

func (s *TreeShapeListener) ExitUnaryTerm(ctx *parser.UnaryTermContext)

ExitUnaryTerm is called when production unaryTerm is exited.

func (*TreeShapeListener) ExitUnion

func (s *TreeShapeListener) ExitUnion(ctx *parser.UnionContext)

ExitUnion is called when production union is exited.

func (*TreeShapeListener) ExitUser_defined_type

func (s *TreeShapeListener) ExitUser_defined_type(*parser.User_defined_typeContext)

ExitUser_defined_type is called when production user_defined_type is exited.

func (*TreeShapeListener) ExitView

func (s *TreeShapeListener) ExitView(ctx *parser.ViewContext)

ExitView is called when production view is exited.

func (*TreeShapeListener) ExitView_param

func (s *TreeShapeListener) ExitView_param(*parser.View_paramContext)

ExitView_param is called when production view_param is exited.

func (*TreeShapeListener) ExitView_params

func (s *TreeShapeListener) ExitView_params(*parser.View_paramsContext)

ExitView_params is called when production view_params is exited.

func (*TreeShapeListener) ExitView_return_type

func (s *TreeShapeListener) ExitView_return_type(*parser.View_return_typeContext)

ExitView_return_type is called when production view_return_type is exited.

func (*TreeShapeListener) ExitView_type_spec

func (s *TreeShapeListener) ExitView_type_spec(*parser.View_type_specContext)

ExitView_type_spec is called when production view_type_spec is exited.

func (*TreeShapeListener) VisitErrorNode

func (s *TreeShapeListener) VisitErrorNode(antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

type TypeData added in v0.3.0

type TypeData struct {
	RefType *sysl.Type
	Tuple   *sysl.Type
}

TypeData contains referenced type and actual tuple of referenced type

Jump to

Keyboard shortcuts

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