parser

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProjectionExpr = iota
	ConditionExpr
	KeyConditionExpr
	FilterExpr
	UpdateExpr
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpressionEncoder

type ExpressionEncoder struct {
	generated.BaseDynamoDbGrammarListener
	// contains filtered or unexported fields
}

func NewExpressionEncoder

func NewExpressionEncoder(expr map[int]string, subs map[string]*string, vars map[string]*dynamodb.AttributeValue) *ExpressionEncoder

func (*ExpressionEncoder) EnterBetween

func (e *ExpressionEncoder) EnterBetween(ctx *generated.BetweenContext)

func (*ExpressionEncoder) EnterComparator

func (e *ExpressionEncoder) EnterComparator(ctx *generated.ComparatorContext)

func (*ExpressionEncoder) EnterFunctionCall

func (e *ExpressionEncoder) EnterFunctionCall(ctx *generated.FunctionCallContext)

func (*ExpressionEncoder) EnterIn

func (e *ExpressionEncoder) EnterIn(ctx *generated.InContext)

func (*ExpressionEncoder) EnterPlusMinus

func (e *ExpressionEncoder) EnterPlusMinus(ctx *generated.PlusMinusContext)

func (*ExpressionEncoder) ExitAdd_action

func (e *ExpressionEncoder) ExitAdd_action(ctx *generated.Add_actionContext)

func (*ExpressionEncoder) ExitAnd

func (e *ExpressionEncoder) ExitAnd(ctx *generated.AndContext)

func (*ExpressionEncoder) ExitBetween

func (e *ExpressionEncoder) ExitBetween(ctx *generated.BetweenContext)

func (*ExpressionEncoder) ExitComparator

func (e *ExpressionEncoder) ExitComparator(ctx *generated.ComparatorContext)

func (*ExpressionEncoder) ExitComparator_symbol

func (e *ExpressionEncoder) ExitComparator_symbol(ctx *generated.Comparator_symbolContext)

func (*ExpressionEncoder) ExitDelete_action added in v1.1.2

func (e *ExpressionEncoder) ExitDelete_action(ctx *generated.Delete_actionContext)

func (*ExpressionEncoder) ExitFunctionCall

func (e *ExpressionEncoder) ExitFunctionCall(ctx *generated.FunctionCallContext)

func (*ExpressionEncoder) ExitId

func (e *ExpressionEncoder) ExitId(ctx *generated.IdContext)

func (*ExpressionEncoder) ExitIn

func (e *ExpressionEncoder) ExitIn(ctx *generated.InContext)

func (*ExpressionEncoder) ExitListAccess

func (e *ExpressionEncoder) ExitListAccess(ctx *generated.ListAccessContext)

func (*ExpressionEncoder) ExitLiteralSub

func (e *ExpressionEncoder) ExitLiteralSub(ctx *generated.LiteralSubContext)

func (*ExpressionEncoder) ExitNegation

func (e *ExpressionEncoder) ExitNegation(ctx *generated.NegationContext)

func (*ExpressionEncoder) ExitOr

func (e *ExpressionEncoder) ExitOr(ctx *generated.OrContext)

func (*ExpressionEncoder) ExitPath

func (e *ExpressionEncoder) ExitPath(ctx *generated.PathContext)

func (*ExpressionEncoder) ExitPlusMinus

func (e *ExpressionEncoder) ExitPlusMinus(ctx *generated.PlusMinusContext)

func (*ExpressionEncoder) ExitProjection

func (e *ExpressionEncoder) ExitProjection(ctx *generated.ProjectionContext)

func (*ExpressionEncoder) ExitRemove_action

func (e *ExpressionEncoder) ExitRemove_action(ctx *generated.Remove_actionContext)

func (*ExpressionEncoder) ExitSet_action

func (e *ExpressionEncoder) ExitSet_action(ctx *generated.Set_actionContext)

func (*ExpressionEncoder) ExitUpdate

func (e *ExpressionEncoder) ExitUpdate(ctx *generated.UpdateContext)

func (*ExpressionEncoder) Parse

func (e *ExpressionEncoder) Parse() (map[int][]byte, error)

func (*ExpressionEncoder) Write

func (e *ExpressionEncoder) Write(typ int, writer io.Writer) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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