Versions in this module Expand all Collapse all v3 v3.0.0 Apr 8, 2024 Changes in this version + const KEY + const LogfmtExprEofCode + const LogfmtExprErrCode + const LogfmtExprFlag + const LogfmtExprInitialStackSize + const LogfmtExprLast + const LogfmtExprPrivate + const STRING + var LogfmtExprAct = [...]int8 + var LogfmtExprChk = [...]int16 + var LogfmtExprDebug = 0 + var LogfmtExprDef = [...]int8 + var LogfmtExprErrorMessages = [...]struct{ ... } + var LogfmtExprErrorVerbose = false + var LogfmtExprExca = [...]int8 + var LogfmtExprPact = [...]int16 + var LogfmtExprPgo = [...]int8 + var LogfmtExprR1 = [...]int8 + var LogfmtExprR2 = [...]int8 + var LogfmtExprStatenames = [...]string + var LogfmtExprTok1 = [...]int8 + var LogfmtExprTok2 = [...]int8 + var LogfmtExprTok3 = [...]int8 + var LogfmtExprToknames = [...]string + func LogfmtExprErrorMessage(state, lookAhead int) string + func LogfmtExprParse(LogfmtExprlex LogfmtExprLexer) int + func LogfmtExprStatname(s int) string + func LogfmtExprTokname(c int) string + func LogfmtExprlex1(lex LogfmtExprLexer, lval *LogfmtExprSymType) (char, token int) + func Parse(expr string, debug bool) ([]interface{}, error) + type Decoder struct + func NewDecoder(line []byte) *Decoder + func (dec *Decoder) EOL() bool + func (dec *Decoder) Err() error + func (dec *Decoder) Key() []byte + func (dec *Decoder) Reset(line []byte) + func (dec *Decoder) ScanKeyval() bool + func (dec *Decoder) Value() []byte + type LogfmtExprLexer interface + Error func(s string) + Lex func(lval *LogfmtExprSymType) int + type LogfmtExprParser interface + Lookahead func() int + Parse func(LogfmtExprLexer) int + func LogfmtExprNewParser() LogfmtExprParser + type LogfmtExprParserImpl struct + func (LogfmtExprrcvr *LogfmtExprParserImpl) Parse(LogfmtExprlex LogfmtExprLexer) int + func (p *LogfmtExprParserImpl) Lookahead() int + type LogfmtExprSymType struct + type Scanner struct + func NewScanner(r io.Reader, debug bool) *Scanner + func (sc *Scanner) Error(s string) + func (sc *Scanner) Lex(lval *LogfmtExprSymType) int + func (sc *Scanner) Reduced(rule, state int, lval *LogfmtExprSymType) bool + type SyntaxError struct + Msg string + Pos int + func (e *SyntaxError) Error() string