Documentation ¶
Index ¶
- Constants
- type Lexer
- type NoMatchingTokenError
- type Token
- func (t Token) GetData() (interface{}, error)
- func (t *Token) HasParameters() bool
- func (t *Token) IsAdditive() bool
- func (t *Token) IsCorrectReplacement(index int) bool
- func (t *Token) IsEquality() bool
- func (t *Token) IsMultiplicative() bool
- func (t *Token) IsRelational() bool
- func (t *Token) IsUnary() bool
- func (t *Token) Replace(operand interface{}) error
- type TokenKey
- type TokenType
- type UnsupportedReplacementError
Constants ¶
View Source
const ( TokenTrue = iota TokenFalse UnquotedString SingleQuotedString DoubleQuotedString OpenParens CloseParens OpenSquareBracket CloseSquareBracket OpenCurlyBrace CloseCurlyBrace Colon Not Equals NotEquals GreaterThan GreaterThanOrEqual LessThan LessThanOrEqual Has In Concat Contains EndsWith IndexOf Length StartsWith Substring HasSubset HasSubsequence MatchesPattern ToLower ToUpper Trim Day FractionalSeconds Hour Minute Month Second Year Ceiling Floor Round Add Subtract Multiply Divide DivideFloat Modulo And Or NullLiteral FloatingPointLiteral IntegerLiteral Comma )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoMatchingTokenError ¶
type NoMatchingTokenError struct {
Position int
}
func (NoMatchingTokenError) Error ¶
func (e NoMatchingTokenError) Error() string
type Token ¶
func (*Token) HasParameters ¶
func (*Token) IsAdditive ¶
func (*Token) IsCorrectReplacement ¶
func (*Token) IsEquality ¶
func (*Token) IsMultiplicative ¶
func (*Token) IsRelational ¶
type UnsupportedReplacementError ¶
type UnsupportedReplacementError struct {
// contains filtered or unexported fields
}
func (UnsupportedReplacementError) Error ¶
func (e UnsupportedReplacementError) Error() string
Click to show internal directories.
Click to hide internal directories.