Versions in this module Expand all Collapse all v0 v0.1.2 Nov 23, 2022 v0.1.1 Nov 23, 2022 v0.1.0 Nov 17, 2022 Changes in this version + const BOOL + const FLOAT + const IDENTIFIER + const INT + const LIST + const MAP + const STR v0.0.5 Nov 8, 2022 v0.0.4 Nov 8, 2022 v0.0.3 Nov 8, 2022 v0.0.2 Nov 8, 2022 v0.0.1 Nov 8, 2022 Changes in this version + const ADD + const AND + const BREAK + const COLON + const COMMA + const COMMENT + const CONTINUE + const DIV + const DOT + const Digits + const ELIF + const ELSE + const EOF + const EOL + const EQ + const EQEQ + const ERROR + const FALSE + const FOR + const GT + const GTE + const HexDigits + const ID + const IF + const IN + const LEFT_BRACE + const LEFT_BRACKET + const LEFT_PAREN + const LT + const LTE + const MOD + const MUL + const MULTILINE_STRING + const NEQ + const NIL + const NULL + const NUMBER + const OR + const QUOTED_STRING + const RETURN + const RIGHT_BRACE + const RIGHT_BRACKET + const RIGHT_PAREN + const SEMICOLON + const SPACE + const START_STMTS + const STRING + const SUB + const TRUE + const WHILE + var AstOp = func(op ItemType) ast.Op + var ErrSyntax = errors.New("invalid syntax") + var ItemTypeStr = map[ItemType]string + func InitLog(logger logger.Logger) + func ParsePipeline(input string) (res ast.Stmts, err error) + func Unquote(s string) (t string, err error) + func UnquoteMultiline(s string) (t string, err error) + type Item struct + Pos Pos + Typ ItemType + Val string + func (i *Item) PositionRange() *PositionRange + func (i Item) String() string + type ItemType int + func (i ItemType) IsKeyword() bool + func (i ItemType) IsOperator() bool + func (i ItemType) String() string + type Lexer struct + func Lex(input string) *Lexer + func (l *Lexer) NextItem(itemp *Item) + type ParseError struct + Err error + LineOffset int + Pos *PositionRange + Query string + func (e *ParseError) Error() string + type ParseErrors []ParseError + func (errs ParseErrors) Error() string + type Pos int + type PositionRange struct + End Pos + Start Pos + func (pos PositionRange) String() string