MCPcopy Index your code
hub / github.com/Shopify/go-lua / syntaxError

Method syntaxError

scanner.go:81–81  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

79
80func (s *scanner) assert(cond bool) { s.l.assert(cond) }
81func (s *scanner) syntaxError(message string) { s.scanError(message, s.t) }
82func (s *scanner) errorExpected(t rune) { s.syntaxError(s.tokenToString(t) + " expected") }
83func (s *scanner) numberError() { s.scanError("malformed number", tkNumber) }
84func isNewLine(c rune) bool { return c == '\n' || c == '\r' }

Callers 13

errorExpectedMethod · 0.95
incrementLineNumberMethod · 0.95
checkMatchMethod · 0.95
semanticErrorMethod · 0.80
fixJumpMethod · 0.80
CheckStackMethod · 0.80
setListMethod · 0.80
checkConditionMethod · 0.80
checkLimitMethod · 0.80
functionArgumentsMethod · 0.80
primaryExpressionMethod · 0.80
forStatementMethod · 0.80

Calls 1

scanErrorMethod · 0.95

Tested by

no test coverage detected