WooCommerce Code Reference

Language

Namespaces

AST

Interfaces, Classes and Traits

BlockString
DirectiveLocation
Enumeration of available directive locations.
Lexer
A lexer is a stateful stream generator, it returns the next token in the Source when advanced.
Parser
Parses string containing Automattic\WooCommerce\Vendor\GraphQL query language or [schema definition language](schema-definition-language.md) to Abstract Syntax Tree.
Printer
Prints AST to string. Capable of printing Automattic\WooCommerce\Vendor\GraphQL queries and Type definition language.
Source
SourceLocation
Token
Represents a range of characters represented by a lexical token within a Source.
Visitor
Utility for efficient AST traversal and modification.
VisitorOperation
VisitorRemoveNode
VisitorSkipNode
VisitorStop