Versions in this module Expand all Collapse all v0 v0.6.2 Dec 30, 2024 v0.6.1 Nov 30, 2023 Changes in this version + const EOF + const Else + const ElseIf + const End + const For + const If + const Indent + const Print + const Text + const Visit + func Parse(code, source string, imports func(i string) (string, string, error)) (*ast.AST, error) + func ParseDetailed(code, source string, imports func(i string) (string, string, error)) (*ast.AST, *ggerr.MultiError) + type TemplateVisitor struct + func (v *TemplateVisitor) ReportAmbiguity(_ antlr.Parser, _ *antlr.DFA, _, _ int, _ bool, _ *antlr.BitSet, ...) + func (v *TemplateVisitor) ReportAttemptingFullContext(_ antlr.Parser, _ *antlr.DFA, _, _ int, _ *antlr.BitSet, _ *antlr.ATNConfigSet) + func (v *TemplateVisitor) ReportContextSensitivity(_ antlr.Parser, _ *antlr.DFA, _, _, _ int, _ *antlr.ATNConfigSet) + func (v *TemplateVisitor) SyntaxError(_ antlr.Recognizer, _ interface{}, line, column int, msg string, ...) + func (v *TemplateVisitor) VisitBoolLiteral(ctx *ggt.BoolLiteralContext) interface{} + func (v *TemplateVisitor) VisitCall(ctx *ggt.CallContext) interface{} + func (v *TemplateVisitor) VisitDefaultParam(ctx *ggt.DefaultParamContext) interface{} + func (v *TemplateVisitor) VisitEcho(ctx *ggt.EchoContext) interface{} + func (v *TemplateVisitor) VisitElseBlock(ctx *ggt.ElseBlockContext) interface{} + func (v *TemplateVisitor) VisitEnd(ctx *ggt.EndContext) interface{} + func (v *TemplateVisitor) VisitExpression(ctx *ggt.ExpressionContext) interface{} + func (v *TemplateVisitor) VisitFieldSelector(ctx *ggt.FieldSelectorContext) interface{} + func (v *TemplateVisitor) VisitFloatLiteral(ctx *ggt.FloatLiteralContext) interface{} + func (v *TemplateVisitor) VisitForBlock(ctx *ggt.ForBlockContext) interface{} + func (v *TemplateVisitor) VisitIfBlock(ctx *ggt.IfBlockContext) interface{} + func (v *TemplateVisitor) VisitImportParameter(ctx *ggt.ImportParameterContext) interface{} + func (v *TemplateVisitor) VisitImportParameters(ctx *ggt.ImportParametersContext) interface{} + func (v *TemplateVisitor) VisitIndentBlock(ctx *ggt.IndentBlockContext) interface{} + func (v *TemplateVisitor) VisitIndex(ctx *ggt.IndexContext) interface{} + func (v *TemplateVisitor) VisitIntLiteral(ctx *ggt.IntLiteralContext) interface{} + func (v *TemplateVisitor) VisitLiteral(ctx *ggt.LiteralContext) interface{} + func (v *TemplateVisitor) VisitOperand(ctx *ggt.OperandContext) interface{} + func (v *TemplateVisitor) VisitRootExpression(ctx *ggt.RootExpressionContext) interface{} + func (v *TemplateVisitor) VisitRootSelector(ctx *ggt.RootSelectorContext) interface{} + func (v *TemplateVisitor) VisitSelector(ctx *ggt.SelectorContext) interface{} + func (v *TemplateVisitor) VisitSelectorChain(ctx *ggt.SelectorChainContext) interface{} + func (v *TemplateVisitor) VisitSlice(ctx *ggt.SliceContext) interface{} + func (v *TemplateVisitor) VisitStringLiteral(ctx *ggt.StringLiteralContext) interface{} + func (v *TemplateVisitor) VisitUnaryExpression(ctx *ggt.UnaryExpressionContext) interface{} + func (v *TemplateVisitor) VisitVariable(ctx *ggt.VariableContext) interface{} + func (v *TemplateVisitor) VisitView(ctx *ggt.ViewContext) interface{} + func (v *TemplateVisitor) VisitViewParam(ctx *ggt.ViewParamContext) interface{} + func (v *TemplateVisitor) VisitVisitDefaultParameters(ctx *ggt.VisitDefaultParametersContext) interface{}