Documentation

Overview

    Package exprs is the internal package for parsing DynamoDB "expressions", including condition expressions and filter expressions.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Expr

    type Expr struct {
    	Items []Item
    	// contains filtered or unexported fields
    }

      Expr is a "parsed" expression.

      func Parse

      func Parse(input string) (*Expr, error)

        Parse returns a lexed but not very parsed expression.

        type Item

        type Item struct {
        	Type ItemType
        	Pos  int
        	Val  string
        }

          Item is a lexed item.

          func (Item) String

          func (i Item) String() string

          type ItemType

          type ItemType int

            ItemType of a lexed item.

            const (
            	ItemError ItemType = iota
            	ItemEOF
            	ItemText
            	ItemQuotedName
            	ItemNamePlaceholder
            	ItemValuePlaceholder
            	ItemMagicLiteral
            )

              Types of lexed items.

              Source Files