Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserEntityRequiredErr = errors.New("user entity required")
UserEntityRequiredErr -
Functions ¶
This section is empty.
Types ¶
type ActionStatement ¶
type ActionStatement struct { Token token.Token // token.ACTION Name token.Token // token.IDENT ExpressionStatement Statement }
ActionStatement -
func (*ActionStatement) TokenLiteral ¶
func (ls *ActionStatement) TokenLiteral() string
TokenLiteral -
type EntityStatement ¶
type EntityStatement struct { Token token.Token // token.ENTITY Name token.Token // token.IDENT RelationStatements []Statement ActionStatements []Statement Option token.Token // token.OPTION }
EntityStatement -
func (*EntityStatement) TokenLiteral ¶
func (ls *EntityStatement) TokenLiteral() string
TokenLiteral -
type Expression ¶
type Expression interface { Node IsInfix() bool Type() string // contains filtered or unexported methods }
Expression -
type ExpressionStatement ¶
type ExpressionStatement struct {
Expression Expression
}
ExpressionStatement struct
func (*ExpressionStatement) String ¶
func (es *ExpressionStatement) String() string
func (*ExpressionStatement) TokenLiteral ¶
func (es *ExpressionStatement) TokenLiteral() string
TokenLiteral function on ExpressionStatement
type Identifier ¶
Identifier -
type InfixExpression ¶
type InfixExpression struct { Token token.Token // The operator token, e.g. and, or Left Expression Operator string Right Expression }
InfixExpression -
func (*InfixExpression) TokenLiteral ¶
func (ie *InfixExpression) TokenLiteral() string
TokenLiteral -
type PrefixExpression ¶
PrefixExpression -
func (*PrefixExpression) TokenLiteral ¶
func (pe *PrefixExpression) TokenLiteral() string
TokenLiteral -
type RelationStatement ¶
type RelationStatement struct { Token token.Token // token.RELATION Name token.Token // token.IDENT RelationTypes []Statement Option token.Token // token.OPTION }
RelationStatement -
func (*RelationStatement) TokenLiteral ¶
func (ls *RelationStatement) TokenLiteral() string
TokenLiteral -
type RelationTypeStatement ¶
type RelationTypeStatement struct { Sign token.Token // token.sign Token token.Token // token.IDENT }
RelationTypeStatement -
func (*RelationTypeStatement) String ¶
func (ls *RelationTypeStatement) String() string
func (*RelationTypeStatement) TokenLiteral ¶
func (ls *RelationTypeStatement) TokenLiteral() string
TokenLiteral -
Click to show internal directories.
Click to hide internal directories.