Home
last modified time | relevance | path

Searched defs:node (Results 1 – 23 of 23) sorted by relevance

/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php19 protected function pParam(Node\Param $node): string {
30 protected function pArg(Node\Arg $node): string {
40 protected function pConst(Node\Const_ $node): string {
48 protected function pUnionType(Node\UnionType $node): string {
83 protected function pName(Name $node): string {
604 protected function pKey(?Node $node): string {
895 protected function pStmt_If(Stmt\If_ $node): string {
935 protected function pStmt_Do(Stmt\Do_ $node): string {
1022 protected function pStmt_Nop(Stmt\Nop $node): string {
1145 protected function pCallLhs(Node $node): string {
[all …]
/PHP-Parser/lib/PhpParser/
H A DNodeVisitorAbstract.php13 public function enterNode(Node $node) {
17 public function leaveNode(Node $node) {
H A DNodeVisitor.php87 public function enterNode(Node $node);
110 public function leaveNode(Node $node);
H A DParserAbstract.php634 private function getNamespaceErrorAttributes(Namespace_ $node): array {
976 protected function fixupArrayDestructuring(Array_ $node): Expr\List_ {
992 protected function postprocessList(Expr\List_ $node): void {
1002 protected function fixupAlternativeElse($node): void {
1038 protected function checkParam(Param $node): void {
1047 protected function checkTryCatch(TryCatch $node): void {
1055 protected function checkNamespace(Namespace_ $node): void {
1088 protected function checkClass(Class_ $node, int $namePos): void {
1101 protected function checkInterface(Interface_ $node, int $namePos): void {
1106 protected function checkEnum(Enum_ $node, int $namePos): void {
[all …]
H A DPrettyPrinterAbstract.php279 public function prettyPrintExpr(Expr $node): string {
412 …protected function pPrefixOp(string $class, string $operatorString, Node $node, int $precedence, i…
442 …protected function pPostfixOp(string $class, Node $node, string $operatorString, int $precedence, …
584 protected function pFallback(Node $node, int $precedence, int $lhsPrecedence): string {
601Node $node, int $precedence = self::MAX_PRECEDENCE, int $lhsPrecedence = self::MAX_PRECEDENCE,
1144 protected function callLhsRequiresParens(Node $node): bool {
1162 protected function dereferenceLhsRequiresParens(Node $node): bool {
1175 protected function staticDereferenceLhsRequiresParens(Node $node): bool {
1198 protected function newOperandRequiresParens(Node $node): bool {
H A DNodeDumper.php60 public function dump($node, ?string $code = null): string {
69 protected function dumpRecursive($node, bool $indent = true): void {
270 protected function dumpPosition(Node $node): ?string {
H A DPrettyPrinter.php24 public function prettyPrintExpr(Expr $node): string;
H A DBuilderHelpers.php27 public static function normalizeNode($node): Node {
48 public static function normalizeStmt($node): Stmt {
H A DNodeTraverser.php93 protected function traverseNode(Node $node): void {
/PHP-Parser/test/PhpParser/
H A DNodeAbstractTest.php53 public function testConstruct(array $attributes, Node $node) {
78 public function testGetDocComment(array $attributes, Node $node): void {
122 public function testChange(array $attributes, DummyNode $node): void {
140 public function testIteration(array $attributes, Node $node): void {
H A DNodeVisitorForTesting.php19 public function enterNode(Node $node) {
23 public function leaveNode(Node $node) {
H A DNodeDumperTest.php13 public function testDump($node, $dump): void {
H A DCodeParsingTest.php71 public function enterNode(Node $node): void {
H A DPrettyPrinterTest.php93 public function testKindAttributes($node, $expected): void {
149 public function testUnnaturalLiterals($node, $expected): void {
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php55 public function enterNode(Node $node) {
183 private function resolveSignature($node): void {
196 private function resolveType(?Node $node): ?Node {
256 protected function addNamespacedName(Node $node): void {
261 protected function resolveAttrGroups(Node $node): void {
H A DNodeConnectingVisitor.php33 public function enterNode(Node $node) {
46 public function leaveNode(Node $node) {
H A DParentConnectingVisitor.php27 public function enterNode(Node $node) {
35 public function leaveNode(Node $node) {
H A DFindingVisitor.php39 public function enterNode(Node $node) {
H A DCommentAnnotatingVisitor.php35 public function enterNode(Node $node) {
H A DFirstFindingVisitor.php40 public function enterNode(Node $node) {
/PHP-Parser/test/PhpParser/Node/Expr/
H A DCallableLikeTest.php14 public function testIsFirstClassCallable(CallLike $node, bool $isFirstClassCallable): void {
/PHP-Parser/test/PhpParser/Builder/
H A DInterfaceTest.php21 private function dump($node) {
/PHP-Parser/tools/fuzzing/
H A Dtarget.php50 public function leaveNode(PhpParser\Node $node) {

Completed in 36 milliseconds