parser

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseType

func ParseType(input string) (types.FuncDefArgType, error)

Types

type TypeExpression

type TypeExpression struct {
	ValueType types.FuncDefArgType
}

func (*TypeExpression) MarshalYAML

func (t *TypeExpression) MarshalYAML() (interface{}, error)

func (*TypeExpression) UnmarshalYAML

func (t *TypeExpression) UnmarshalYAML(fn func(interface{}) error) error

type TypeVisitor

type TypeVisitor struct {
	baseparser2.SubstraitTypeVisitor
	ErrorListener util.VisitErrorListener
}

func (*TypeVisitor) Visit

func (v *TypeVisitor) Visit(tree antlr.ParseTree) interface{}

func (*TypeVisitor) VisitAnyType

func (v *TypeVisitor) VisitAnyType(ctx *baseparser2.AnyTypeContext) interface{}

func (*TypeVisitor) VisitBinary

func (v *TypeVisitor) VisitBinary(*baseparser2.BinaryContext) interface{}

func (*TypeVisitor) VisitBinaryExpr

func (v *TypeVisitor) VisitBinaryExpr(ctx *baseparser2.BinaryExprContext) interface{}

func (*TypeVisitor) VisitBoolean

func (v *TypeVisitor) VisitBoolean(*baseparser2.BooleanContext) interface{}

func (*TypeVisitor) VisitDate

func (v *TypeVisitor) VisitDate(*baseparser2.DateContext) interface{}

func (*TypeVisitor) VisitDecimal

func (v *TypeVisitor) VisitDecimal(ctx *baseparser2.DecimalContext) interface{}

func (*TypeVisitor) VisitFixedBinary

func (v *TypeVisitor) VisitFixedBinary(ctx *baseparser2.FixedBinaryContext) interface{}

func (*TypeVisitor) VisitFixedChar

func (v *TypeVisitor) VisitFixedChar(ctx *baseparser2.FixedCharContext) interface{}

func (*TypeVisitor) VisitFp32

func (v *TypeVisitor) VisitFp32(*baseparser2.Fp32Context) interface{}

func (*TypeVisitor) VisitFp64

func (v *TypeVisitor) VisitFp64(*baseparser2.Fp64Context) interface{}

func (*TypeVisitor) VisitFunctionCall

func (v *TypeVisitor) VisitFunctionCall(ctx *baseparser2.FunctionCallContext) interface{}

func (*TypeVisitor) VisitI16

func (v *TypeVisitor) VisitI16(*baseparser2.I16Context) interface{}

func (*TypeVisitor) VisitI32

func (v *TypeVisitor) VisitI32(*baseparser2.I32Context) interface{}

func (*TypeVisitor) VisitI64

func (v *TypeVisitor) VisitI64(*baseparser2.I64Context) interface{}

func (*TypeVisitor) VisitI8

func (v *TypeVisitor) VisitI8(*baseparser2.I8Context) interface{}

func (*TypeVisitor) VisitIfExpr

func (v *TypeVisitor) VisitIfExpr(ctx *baseparser2.IfExprContext) interface{}

func (*TypeVisitor) VisitIntervalYear

func (v *TypeVisitor) VisitIntervalYear(*baseparser2.IntervalYearContext) interface{}

func (*TypeVisitor) VisitList

func (v *TypeVisitor) VisitList(ctx *baseparser2.ListContext) interface{}

func (*TypeVisitor) VisitLiteralNumber

func (v *TypeVisitor) VisitLiteralNumber(ctx *baseparser2.LiteralNumberContext) interface{}

func (*TypeVisitor) VisitMap

func (v *TypeVisitor) VisitMap(ctx *baseparser2.MapContext) interface{}

func (*TypeVisitor) VisitMultilineDefinition

func (v *TypeVisitor) VisitMultilineDefinition(ctx *baseparser2.MultilineDefinitionContext) interface{}

func (*TypeVisitor) VisitNStruct

func (v *TypeVisitor) VisitNStruct(*baseparser2.NStructContext) interface{}

func (*TypeVisitor) VisitNotExpr

func (v *TypeVisitor) VisitNotExpr(ctx *baseparser2.NotExprContext) interface{}

func (*TypeVisitor) VisitNumericExpression

func (v *TypeVisitor) VisitNumericExpression(ctx *baseparser2.NumericExpressionContext) interface{}

func (*TypeVisitor) VisitNumericLiteral

func (v *TypeVisitor) VisitNumericLiteral(ctx *baseparser2.NumericLiteralContext) interface{}

func (*TypeVisitor) VisitNumericParameterName

func (v *TypeVisitor) VisitNumericParameterName(ctx *baseparser2.NumericParameterNameContext) interface{}

func (*TypeVisitor) VisitParameterName

func (v *TypeVisitor) VisitParameterName(ctx *baseparser2.ParameterNameContext) interface{}

func (*TypeVisitor) VisitParenExpression

func (v *TypeVisitor) VisitParenExpression(ctx *baseparser2.ParenExpressionContext) interface{}

func (*TypeVisitor) VisitPrecisionIntervalDay

func (v *TypeVisitor) VisitPrecisionIntervalDay(ctx *baseparser2.PrecisionIntervalDayContext) interface{}

func (*TypeVisitor) VisitPrecisionTimestamp

func (v *TypeVisitor) VisitPrecisionTimestamp(ctx *baseparser2.PrecisionTimestampContext) interface{}

func (*TypeVisitor) VisitPrecisionTimestampTZ

func (v *TypeVisitor) VisitPrecisionTimestampTZ(ctx *baseparser2.PrecisionTimestampTZContext) interface{}

func (*TypeVisitor) VisitStartRule

func (v *TypeVisitor) VisitStartRule(ctx *baseparser2.StartRuleContext) interface{}

func (*TypeVisitor) VisitString

func (v *TypeVisitor) VisitString(*baseparser2.StringContext) interface{}

func (*TypeVisitor) VisitStruct

func (v *TypeVisitor) VisitStruct(ctx *baseparser2.StructContext) interface{}

func (*TypeVisitor) VisitTernary

func (v *TypeVisitor) VisitTernary(ctx *baseparser2.TernaryContext) interface{}

func (*TypeVisitor) VisitTime

func (v *TypeVisitor) VisitTime(*baseparser2.TimeContext) interface{}

func (*TypeVisitor) VisitTimestamp

func (v *TypeVisitor) VisitTimestamp(*baseparser2.TimestampContext) interface{}

func (*TypeVisitor) VisitTimestampTz

func (v *TypeVisitor) VisitTimestampTz(*baseparser2.TimestampTzContext) interface{}

func (*TypeVisitor) VisitTypeDef

func (v *TypeVisitor) VisitTypeDef(ctx *baseparser2.TypeDefContext) interface{}

func (*TypeVisitor) VisitTypeLiteral

func (v *TypeVisitor) VisitTypeLiteral(ctx *baseparser2.TypeLiteralContext) interface{}

func (*TypeVisitor) VisitTypeStatement

func (v *TypeVisitor) VisitTypeStatement(ctx *baseparser2.TypeStatementContext) interface{}

func (*TypeVisitor) VisitUserDefined

func (v *TypeVisitor) VisitUserDefined(ctx *baseparser2.UserDefinedContext) interface{}

func (*TypeVisitor) VisitUuid

func (v *TypeVisitor) VisitUuid(*baseparser2.UuidContext) interface{}

func (*TypeVisitor) VisitVarChar

func (v *TypeVisitor) VisitVarChar(ctx *baseparser2.VarCharContext) interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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