Searched defs:node (Results 1 – 23 of 23) sorted by relevance
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 19 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 D | NodeVisitorAbstract.php | 13 public function enterNode(Node $node) { 17 public function leaveNode(Node $node) {
|
H A D | NodeVisitor.php | 87 public function enterNode(Node $node); 110 public function leaveNode(Node $node);
|
H A D | ParserAbstract.php | 634 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 D | PrettyPrinterAbstract.php | 279 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 { 601 … Node $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 D | NodeDumper.php | 60 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 D | PrettyPrinter.php | 24 public function prettyPrintExpr(Expr $node): string;
|
H A D | BuilderHelpers.php | 27 public static function normalizeNode($node): Node { 48 public static function normalizeStmt($node): Stmt {
|
H A D | NodeTraverser.php | 93 protected function traverseNode(Node $node): void {
|
/PHP-Parser/test/PhpParser/ |
H A D | NodeAbstractTest.php | 53 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 D | NodeVisitorForTesting.php | 19 public function enterNode(Node $node) { 23 public function leaveNode(Node $node) {
|
H A D | NodeDumperTest.php | 13 public function testDump($node, $dump): void {
|
H A D | CodeParsingTest.php | 71 public function enterNode(Node $node): void {
|
H A D | PrettyPrinterTest.php | 93 public function testKindAttributes($node, $expected): void { 149 public function testUnnaturalLiterals($node, $expected): void {
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 55 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 D | NodeConnectingVisitor.php | 33 public function enterNode(Node $node) { 46 public function leaveNode(Node $node) {
|
H A D | ParentConnectingVisitor.php | 27 public function enterNode(Node $node) { 35 public function leaveNode(Node $node) {
|
H A D | FindingVisitor.php | 39 public function enterNode(Node $node) {
|
H A D | CommentAnnotatingVisitor.php | 35 public function enterNode(Node $node) {
|
H A D | FirstFindingVisitor.php | 40 public function enterNode(Node $node) {
|
/PHP-Parser/test/PhpParser/Node/Expr/ |
H A D | CallableLikeTest.php | 14 public function testIsFirstClassCallable(CallLike $node, bool $isFirstClassCallable): void {
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | InterfaceTest.php | 21 private function dump($node) {
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 50 public function leaveNode(PhpParser\Node $node) {
|
Completed in 46 milliseconds