MCPcopy Create free account
hub / github.com/z7zmey/php-parser / Lex

Method Lex

php7/parser.go:39–43  ·  view source on GitHub ↗
(lval *yySymType)

Source from the content-addressed store, hash-verified

37}
38
39func (l *Parser) Lex(lval *yySymType) int {
40 t := l.Lexer.Lex(lval)
41 l.currentToken = lval.token
42 return t
43}
44
45func (l *Parser) Error(msg string) {
46 pos := &position.Position{

Callers

nothing calls this directly

Implementers 2

Parserphp7/parser.go
Parserphp5/parser.go

Calls 1

LexMethod · 0.65

Tested by

no test coverage detected