Versions in this module Expand all Collapse all v1 v1.0.0 Jun 15, 2022 Changes in this version + const AnnotationDelimiterPart + const ArrayOpen + const CommentSign + const ContextCloseSign + const ContextOpenSign + const DoubleQuote + const EOF + const LinkSymbol + const ObjectOpen + const RegexDelimiter + type Lexeme struct + func NewLexeme(type_ LexemeType, begin bytes.Index, end bytes.Index, file *fs.File) *Lexeme + func (lex *Lexeme) SetBegin(begin bytes.Index) + func (lex *Lexeme) SetEnd(end bytes.Index) + func (lex *Lexeme) SetFile(file *fs.File) + func (lex *Lexeme) SetType(t LexemeType) + func (lex Lexeme) Begin() bytes.Index + func (lex Lexeme) End() bytes.Index + func (lex Lexeme) File() *fs.File + func (lex Lexeme) String() string + func (lex Lexeme) Type() LexemeType + func (lex Lexeme) Value() bytes.Bytes + type LexemeEvent struct + type LexemeEventType uint8 + const AnnotationBegin + const AnnotationEnd + const ContextClose + const ContextOpen + const JsonArrayBegin + const JsonArrayEnd + const KeywordBegin + const KeywordEnd + const ParameterBegin + const ParameterEnd + const SchemaBegin + const SchemaEnd + const TextBegin + const TextEnd + func (e LexemeEventType) IsBeginning() bool + func (e LexemeEventType) IsEnding() bool + func (e LexemeEventType) IsSingle() bool + func (e LexemeEventType) String() string + func (e LexemeEventType) ToLexemeType() LexemeType + type LexemeType uint8 + const Annotation + const Array + const ContextExplicitClosing + const ContextExplicitOpening + const Json + const Keyword + const Parameter + const Schema + const Text + func (t LexemeType) String() string + type Scanner struct + func NewJApiScanner(file *fs.File) *Scanner + func (s *Scanner) CurrentIndex() bytes.Index + func (s *Scanner) Next() (*Lexeme, *jerr.JAPIError) + func (s *Scanner) SetCurrentIndex(i bytes.Index)