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

Struct Parser

php7/parser.go:19–24  ·  view source on GitHub ↗

Parser structure

Source from the content-addressed store, hash-verified

17
18// Parser structure
19type Parser struct {
20 Lexer scanner.Scanner
21 currentToken *scanner.Token
22 positionBuilder *positionbuilder.PositionBuilder
23 rootNode node.Node
24}
25
26// NewParser creates and returns new Parser
27func NewParser(src []byte, v string) *Parser {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected