MCPcopy Index your code
hub / github.com/yuin/gopher-lua / Lexer

Struct Lexer

parse/lexer.go:438–444  ·  view source on GitHub ↗

yacc interface {{{

Source from the content-addressed store, hash-verified

436// yacc interface {{{
437
438type Lexer struct {
439 scanner *Scanner
440 Stmts []ast.Stmt
441 PNewLine bool
442 Token ast.Token
443 PrevTokenType int
444}
445
446func (lx *Lexer) Lex(lval *yySymType) int {
447 lx.PrevTokenType = lx.Token.Type

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected