crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
30025a0d
ROOT
/
go
/
store
/
nomdl
/
lexer.go
Search
History
126 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
lexer
scanner
:
*scanner.Scanner
peekToken
:
rune
raiseSyntaxError
(msg string, pos scanner.Position)
syntaxError
msg
:
string
pos
:
scanner.Position
Error
()
:
string
catchSyntaxError
(f func())
:
(errRes error)
*lexer
next
()
:
rune
peek
()
:
rune
pos
()
:
scanner.Position
tokenText
()
:
string
eat
(expected rune)
:
rune
eatIf
(expected rune)
:
bool
check
(expected, actual rune)
tokenMismatch
(expected, actual rune)
unexpectedToken
(actual rune)
All occurrences
Please wait...
Page is in error, reload to recover