Documentation
¶
Overview ¶
Package query implements CSS/jQuery-esque selectors over a PHP AST
Currently, the only supported selectors are:
"node", where node is the type name of an AST node (e.g. EchoStmt)
"parent child", where the descendance may skip levels.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeRule ¶
type NodeRule struct { // Type is the node type represented as a string, without the package name. For example: ReturnStmt. Type string }
Click to show internal directories.
Click to hide internal directories.