Namespace Pharborist
ArrayLookupNode | An array lookup. |
BacktickNode | Backtick expression, e.g. `ls`. |
BlankStatementNode | An empty statement. |
CommaListNode | Any comma-separated set of nodes. This includes class member lists, function call arguments, array elements, etc. |
CommentNode | A comment. |
DocCommentNode | A doc comment. |
EchoStatementNode | An echo statement. |
EchoTagStatementNode | A template echo tag statement. |
ExpressionStatementNode | An expression statement. |
Filter | Factory for creating common callback filters. |
Formatter | Visitor |
FormatterFactory | Formatter factory. |
LineCommentBlockNode | A block of line comments, e.g.:
|
Node | A node in the PHP syntax tree. |
NodeCollection | A set of matched nodes. |
OperatorFactory | An Operator factory. |
ParenthesisNode | Any expression enclosed by parentheses, e.g. (($a && $b) || ($a && $c)) |
ParentNode | A node that has children. |
Parser | Parses PHP tokens into syntax tree. |
PartialCommentNode | Used by the parser to hold document comment. |
PartialNode | Used by the parser to hold partial matches. |
RootNode | The root node of any Pharborist syntax tree. |
SourceDiscovery | |
SourcePosition | Position in source. |
SplatNode | Splat operator, e.g. a_func($a, ...$b) |
StatementBlockNode | A block of statements. |
StatementNode | Base class for any statement. |
TemplateNode | Container for php template (Inline HTML with echo tag statements). |
Token | Factory class for tokens. |
TokenIterator | Iterator over tokens that supports peek. |
Tokenizer | Convert PHP source into an array of tokens. |
TokenNode | A token. |
UnsetStatementNode | A unset statement. |
VisitorBase | Visitor |
WhitespaceNode | Whitespace. |
ExpressionNode | Interface for nodes that represent expressions. |
NodeInterface | Public API for Node. |
ParentNodeInterface | Public API for Node. |
ParserException | An exception occurred in parsing. |
VisitorInterface | A node tree visitor. |
DocCommentTrait | |
ParenTrait | |
UncommentTrait | Contains the uncomment() method for line comments (they can't extend a single abstract base class because they're each based on a different node type). |