namespace Peast\Syntax\Node
Object name | File name | Summary |
---|---|---|
MetaProperty | vendor/mck89/peast/lib/Peast/Syntax/Node/MetaProperty.php | A node that represents a meta property. For example: new.target |
MethodDefinition | vendor/mck89/peast/lib/Peast/Syntax/Node/MethodDefinition.php | A node that represents a method declaration in classes and object literals. |
ModuleDeclaration | vendor/mck89/peast/lib/Peast/Syntax/Node/ModuleDeclaration.php | Common interface for function import and export nodes. |
ModuleSpecifier | vendor/mck89/peast/lib/Peast/Syntax/Node/ModuleSpecifier.php | Abstract class that export and import specifiers nodes must extend. |
NewExpression | vendor/mck89/peast/lib/Peast/Syntax/Node/NewExpression.php | A node that represents a "new" expression. For example: new test() |
Node | vendor/mck89/peast/lib/Peast/Syntax/Node/Node.php | Base class for all the nodes generated by Peast. |
NullLiteral | vendor/mck89/peast/lib/Peast/Syntax/Node/NullLiteral.php | A node that represents a null literal. |
NumericLiteral | vendor/mck89/peast/lib/Peast/Syntax/Node/NumericLiteral.php | A node that represents a numeric literal. |
ObjectExpression | vendor/mck89/peast/lib/Peast/Syntax/Node/ObjectExpression.php | A node that represents an object literal. For example: {a: 1, b: 2, c: 3} |
ObjectPattern | vendor/mck89/peast/lib/Peast/Syntax/Node/ObjectPattern.php | A node that represents an object binding pattern. For example: var {a, b, c} = d |
ParenthesizedExpression | vendor/mck89/peast/lib/Peast/Syntax/Node/ParenthesizedExpression.php | A node that represents an expression wrapped in round brackets. |
Pattern | vendor/mck89/peast/lib/Peast/Syntax/Node/Pattern.php | Interface that every pattern node must implement. |
PrivateIdentifier | vendor/mck89/peast/lib/Peast/Syntax/Node/PrivateIdentifier.php | A node that represents a private identifier. |
Program | vendor/mck89/peast/lib/Peast/Syntax/Node/Program.php | Root node for scripts and modules. |
Property | vendor/mck89/peast/lib/Peast/Syntax/Node/Property.php | A node that represents a property in an object literal. For example "b" in: a = {b: 1} |
PropertyDefinition | vendor/mck89/peast/lib/Peast/Syntax/Node/PropertyDefinition.php | A node that represents a property definition in class body. |
RegExpLiteral | vendor/mck89/peast/lib/Peast/Syntax/Node/RegExpLiteral.php | A node that represents a regular expression literal. |
RestElement | vendor/mck89/peast/lib/Peast/Syntax/Node/RestElement.php | A node that represents the rest element in array binding patterns or function parameters. For example "...rest" in: [a, ...rest] = b |
ReturnStatement | vendor/mck89/peast/lib/Peast/Syntax/Node/ReturnStatement.php | A node that represents the return statement inside functions. For example: return a + 1 |
SequenceExpression | vendor/mck89/peast/lib/Peast/Syntax/Node/SequenceExpression.php | A node that represents a sequence of expressions. For example: a, b |
SpreadElement | vendor/mck89/peast/lib/Peast/Syntax/Node/SpreadElement.php | A node that represents the spread element in array literals or function calls. For example "...params" in: test(...params) |
Statement | vendor/mck89/peast/lib/Peast/Syntax/Node/Statement.php | Interface that every statement node must implement. |
StaticBlock | vendor/mck89/peast/lib/Peast/Syntax/Node/StaticBlock.php | A node that represents a class static block |
StringLiteral | vendor/mck89/peast/lib/Peast/Syntax/Node/StringLiteral.php | A node that represents a string literal. |
Super | vendor/mck89/peast/lib/Peast/Syntax/Node/Super.php | A node that represents the "super" keyword. |
SwitchCase | vendor/mck89/peast/lib/Peast/Syntax/Node/SwitchCase.php | A node that represents a case in a switch statement. |
SwitchStatement | vendor/mck89/peast/lib/Peast/Syntax/Node/SwitchStatement.php | A node that represents a switch statement. For example: switch (test) {} |
TaggedTemplateExpression | vendor/mck89/peast/lib/Peast/Syntax/Node/TaggedTemplateExpression.php | A node that represents a tagged template expression. For example: fn`template` |
TemplateElement | vendor/mck89/peast/lib/Peast/Syntax/Node/TemplateElement.php | A node that represents a template element. For example `foo` and `bar` in: `foo${exp}bar` |
TemplateLiteral | vendor/mck89/peast/lib/Peast/Syntax/Node/TemplateLiteral.php | A node that represents a template literal. For example: `this is a ${test()} template` |
ThisExpression | vendor/mck89/peast/lib/Peast/Syntax/Node/ThisExpression.php | A node that represents the "this" keyword. |
ThrowStatement | vendor/mck89/peast/lib/Peast/Syntax/Node/ThrowStatement.php | A node that represents the throw statement. For example: throw err |
TryStatement | vendor/mck89/peast/lib/Peast/Syntax/Node/TryStatement.php | A node that represents a try-catch statement. |
UnaryExpression | vendor/mck89/peast/lib/Peast/Syntax/Node/UnaryExpression.php | A node that represents a unary expression. For example: !a |
UpdateExpression | vendor/mck89/peast/lib/Peast/Syntax/Node/UpdateExpression.php | A node that represents an update expression. For example: a++ |
VariableDeclaration | vendor/mck89/peast/lib/Peast/Syntax/Node/VariableDeclaration.php | A node that represents a "var", "const" or "let" declaration. For example: var a = 1 |
VariableDeclarator | vendor/mck89/peast/lib/Peast/Syntax/Node/VariableDeclarator.php | A node that represents a declaration in a VariableDeclaration node. For example "a=1" in: var a = 1 |
WhileStatement | vendor/mck89/peast/lib/Peast/Syntax/Node/WhileStatement.php | A node that represents a while loop. For example: while (test) {} |
WithStatement | vendor/mck89/peast/lib/Peast/Syntax/Node/WithStatement.php | A node that represents a with statement. For example: with (test) {} |
YieldExpression | vendor/mck89/peast/lib/Peast/Syntax/Node/YieldExpression.php | A node that represents a yield statement. |