Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

namespace Peast\Syntax\Node

Object name File name Summary
ArrayExpression vendor/mck89/peast/lib/Peast/Syntax/Node/ArrayExpression.php A node that represents an array literal.
For example: [a, b, c]
ArrayPattern vendor/mck89/peast/lib/Peast/Syntax/Node/ArrayPattern.php A node that represents an array binding pattern.
For example: [a, b, c] = d
ArrowFunctionExpression vendor/mck89/peast/lib/Peast/Syntax/Node/ArrowFunctionExpression.php A node that represents an arrow function.
For example: var fn = (a, b) => console.log(a, b)
AssignmentExpression vendor/mck89/peast/lib/Peast/Syntax/Node/AssignmentExpression.php A node that represents an assignment expression.
For example: a = b
AssignmentPattern vendor/mck89/peast/lib/Peast/Syntax/Node/AssignmentPattern.php A node that represents an assignment in a binding context.
For example "a = b" in: var {a = b} = c
AssignmentProperty vendor/mck89/peast/lib/Peast/Syntax/Node/AssignmentProperty.php A node that represents a property in an object binding pattern.
For example "a" in: var {a} = b
AwaitExpression vendor/mck89/peast/lib/Peast/Syntax/Node/AwaitExpression.php A node that represents an await expression.
BigIntLiteral vendor/mck89/peast/lib/Peast/Syntax/Node/BigIntLiteral.php A node that represents a BigInt literal.
BinaryExpression vendor/mck89/peast/lib/Peast/Syntax/Node/BinaryExpression.php A node that represents a binary expression.
For example: a + b
BlockStatement vendor/mck89/peast/lib/Peast/Syntax/Node/BlockStatement.php A node that represents a block of code wrapped in curly braces.
BooleanLiteral vendor/mck89/peast/lib/Peast/Syntax/Node/BooleanLiteral.php A node that represents a boolean literal.
BreakStatement vendor/mck89/peast/lib/Peast/Syntax/Node/BreakStatement.php A node that represents the "break" statement inside loops.
CallExpression vendor/mck89/peast/lib/Peast/Syntax/Node/CallExpression.php A node that represents a call expression.
For example: test()
CatchClause vendor/mck89/peast/lib/Peast/Syntax/Node/CatchClause.php A node that represents the catch clause in a try-catch statement.
ChainElement vendor/mck89/peast/lib/Peast/Syntax/Node/ChainElement.php A node that represents a chain element.
ChainExpression vendor/mck89/peast/lib/Peast/Syntax/Node/ChainExpression.php A node that represents a chain expression.
For example: test?.test?.()
ClassBody vendor/mck89/peast/lib/Peast/Syntax/Node/ClassBody.php A node that represents a class body.
ClassDeclaration vendor/mck89/peast/lib/Peast/Syntax/Node/ClassDeclaration.php A node that represents a class declaration.
For example: class test {}
ClassExpression vendor/mck89/peast/lib/Peast/Syntax/Node/ClassExpression.php A node that represents a class expression
For example: test = class {}
Class_ vendor/mck89/peast/lib/Peast/Syntax/Node/Class_.php Abstract class for classes.
Comment vendor/mck89/peast/lib/Peast/Syntax/Node/Comment.php A node that represents a comment.
ConditionalExpression vendor/mck89/peast/lib/Peast/Syntax/Node/ConditionalExpression.php A node that represents a conditional expression.
For example: test() ? ok() : fail()
ContinueStatement vendor/mck89/peast/lib/Peast/Syntax/Node/ContinueStatement.php A node that represents the "continue" statement inside loops.
DebuggerStatement vendor/mck89/peast/lib/Peast/Syntax/Node/DebuggerStatement.php A node that represents a debugger statement.
For example: debugger;
Declaration vendor/mck89/peast/lib/Peast/Syntax/Node/Declaration.php Interface that every declaration node must implement.
DoWhileStatement vendor/mck89/peast/lib/Peast/Syntax/Node/DoWhileStatement.php A node that represents a do-while loop.
For example: do {} while (test)
EmptyStatement vendor/mck89/peast/lib/Peast/Syntax/Node/EmptyStatement.php A node that represents an empty statement (;).
ExportAllDeclaration vendor/mck89/peast/lib/Peast/Syntax/Node/ExportAllDeclaration.php A node that represents an "export all" declaration.
For example: export * from "test"
ExportDefaultDeclaration vendor/mck89/peast/lib/Peast/Syntax/Node/ExportDefaultDeclaration.php A node that represents the export default declaration.
For example: export default a
ExportNamedDeclaration vendor/mck89/peast/lib/Peast/Syntax/Node/ExportNamedDeclaration.php A node that represents an export named declaration.
For example: export {foo} from "bar"
ExportSpecifier vendor/mck89/peast/lib/Peast/Syntax/Node/ExportSpecifier.php A node that represents a specifier in an export declaration.
For example "{a}" in: export {a}
Expression vendor/mck89/peast/lib/Peast/Syntax/Node/Expression.php Interface that every expression node must implement.
ExpressionStatement vendor/mck89/peast/lib/Peast/Syntax/Node/ExpressionStatement.php A node that represents an expression statement and wraps another expression.
ForInStatement vendor/mck89/peast/lib/Peast/Syntax/Node/ForInStatement.php A node that represents a for-in statement.
For example: for (var a in b) {}
ForOfStatement vendor/mck89/peast/lib/Peast/Syntax/Node/ForOfStatement.php A node that represents the "for...of" statement.
For example: for (var a of b) {}
ForStatement vendor/mck89/peast/lib/Peast/Syntax/Node/ForStatement.php A node that represents a for statement.
FunctionDeclaration vendor/mck89/peast/lib/Peast/Syntax/Node/FunctionDeclaration.php A node that represents a function declaration
For example: function test () {}
FunctionExpression vendor/mck89/peast/lib/Peast/Syntax/Node/FunctionExpression.php A node that represents a function expression
For example: var test = function () {}
Function_ vendor/mck89/peast/lib/Peast/Syntax/Node/Function_.php Abstract class for functions.
Identifier vendor/mck89/peast/lib/Peast/Syntax/Node/Identifier.php A node that represents an identifier.
IfStatement vendor/mck89/peast/lib/Peast/Syntax/Node/IfStatement.php A node that represents an if statement.
For example: if (test) {} else {}
ImportDeclaration vendor/mck89/peast/lib/Peast/Syntax/Node/ImportDeclaration.php A node that represents in import declaration.
For example: import a from "mod"
ImportDefaultSpecifier vendor/mck89/peast/lib/Peast/Syntax/Node/ImportDefaultSpecifier.php A node that represents a namespace import specifier.
For example "* as test" in: import * as test from "test.js".
ImportExpression vendor/mck89/peast/lib/Peast/Syntax/Node/ImportExpression.php A node that represents an import expression (dynamic import).
ImportNamespaceSpecifier vendor/mck89/peast/lib/Peast/Syntax/Node/ImportNamespaceSpecifier.php A node that represents a default import specifier.
For example "test" in: import test from "test.js".
ImportSpecifier vendor/mck89/peast/lib/Peast/Syntax/Node/ImportSpecifier.php A node that represents a specifier in an import declaration.
For example "{a}" in: import {a} from "test"
LabeledStatement vendor/mck89/peast/lib/Peast/Syntax/Node/LabeledStatement.php A node that represents a labeled statement.
Literal vendor/mck89/peast/lib/Peast/Syntax/Node/Literal.php Abstract class for literals.
LogicalExpression vendor/mck89/peast/lib/Peast/Syntax/Node/LogicalExpression.php A node that represents a logical expression.
For example: a && b
MemberExpression vendor/mck89/peast/lib/Peast/Syntax/Node/MemberExpression.php A node that represents a member expression.
For example: foo.bar

Pagination

  • Page 1
  • Page 2
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal