MCPcopy
hub / github.com/google/mangle / MangleVisitor

Interface MangleVisitor

parse/gen/mangle_visitor.go:7–99  ·  view source on GitHub ↗

A complete Visitor for a parse tree produced by MangleParser.

Source from the content-addressed store, hash-verified

5
6// A complete Visitor for a parse tree produced by MangleParser.
7type MangleVisitor interface {
8 antlr.ParseTreeVisitor
9
10 // Visit a parse tree produced by MangleParser#start.
11 VisitStart(ctx *StartContext) interface{}
12
13 // Visit a parse tree produced by MangleParser#program.
14 VisitProgram(ctx *ProgramContext) interface{}
15
16 // Visit a parse tree produced by MangleParser#packageDecl.
17 VisitPackageDecl(ctx *PackageDeclContext) interface{}
18
19 // Visit a parse tree produced by MangleParser#useDecl.
20 VisitUseDecl(ctx *UseDeclContext) interface{}
21
22 // Visit a parse tree produced by MangleParser#decl.
23 VisitDecl(ctx *DeclContext) interface{}
24
25 // Visit a parse tree produced by MangleParser#descrBlock.
26 VisitDescrBlock(ctx *DescrBlockContext) interface{}
27
28 // Visit a parse tree produced by MangleParser#boundsBlock.
29 VisitBoundsBlock(ctx *BoundsBlockContext) interface{}
30
31 // Visit a parse tree produced by MangleParser#constraintsBlock.
32 VisitConstraintsBlock(ctx *ConstraintsBlockContext) interface{}
33
34 // Visit a parse tree produced by MangleParser#clause.
35 VisitClause(ctx *ClauseContext) interface{}
36
37 // Visit a parse tree produced by MangleParser#temporalAnnotation.
38 VisitTemporalAnnotation(ctx *TemporalAnnotationContext) interface{}
39
40 // Visit a parse tree produced by MangleParser#temporalBound.
41 VisitTemporalBound(ctx *TemporalBoundContext) interface{}
42
43 // Visit a parse tree produced by MangleParser#clauseBody.
44 VisitClauseBody(ctx *ClauseBodyContext) interface{}
45
46 // Visit a parse tree produced by MangleParser#transform.
47 VisitTransform(ctx *TransformContext) interface{}
48
49 // Visit a parse tree produced by MangleParser#letStmt.
50 VisitLetStmt(ctx *LetStmtContext) interface{}
51
52 // Visit a parse tree produced by MangleParser#literalOrFml.
53 VisitLiteralOrFml(ctx *LiteralOrFmlContext) interface{}
54
55 // Visit a parse tree produced by MangleParser#temporalOperator.
56 VisitTemporalOperator(ctx *TemporalOperatorContext) interface{}
57
58 // Visit a parse tree produced by MangleParser#Var.
59 VisitVar(ctx *VarContext) interface{}
60
61 // Visit a parse tree produced by MangleParser#Const.
62 VisitConst(ctx *ConstContext) interface{}
63
64 // Visit a parse tree produced by MangleParser#Num.

Callers 30

AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65
AcceptMethod · 0.65

Implementers 2

Parserparse/parse.go
BaseMangleVisitorparse/gen/mangle_base_visitor.go

Calls

no outgoing calls

Tested by

no test coverage detected