Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a-h/lexical
/ types & classes
Types & classes
15 in github.com/a-h/lexical
⨍
Functions
139
◇
Types & classes
15
↓ 1 callers
TypeAlias
XMLWhitespace
XMLWhitespace is the space between elements.
examples/xml/main.go:88
Struct
Buffer
input/stream.go:10
FuncType
Function
Function represents the state of the scanner as a function that returns the next state.
parse/function.go:25
Interface
Input
Input represents the input to a parser.
parse/function.go:7
FuncType
MultipleResultCombiner
MultipleResultCombiner combines the results from multiple parse operations into a single result.
parse/multipleresultcombiner.go:9
Struct
Position
Position represents the character position within a text file.
input/position.go:6
Struct
Result
Result is the result of a parse operation.
parse/function.go:28
Struct
Scanner
Scanner can take an input stream and execute parse results.
scanner/scanner.go:11
Struct
Stream
Stream defines a lexical scanner over a stream.
input/stream.go:73
Struct
StringRuneReader
StringRuneReader allows a string to be read rune-by-rune. It allocates slightly less variables than NewBufferString or NewReader.
input/stream.go:108
Struct
URL
examples/url_test.go:53
Struct
XMLAttribute
XMLAttribute is an attribute of an element, e.g. key="value"
examples/xml/main.go:108
Struct
XMLEndElement
XMLEndElement is an end element, e.g. </div>
examples/xml/main.go:103
Struct
XMLSelfClosingElement
XMLSelfClosingElement is an element that closes itself, e.g. <INPUT/>
examples/xml/main.go:91
Struct
XMLStartElement
XMLStartElement is a start element, e.g. <div>
examples/xml/main.go:97