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 {
29 protected function pArg(Node\Arg $node): string {
39 protected function pConst(Node\Const_ $node): string {
47 protected function pUnionType(Node\UnionType $node): string {
82 protected function pName(Name $node): string {
599 protected function pKey(?Node $node): string {
880 protected function pStmt_If(Stmt\If_ $node): string {
920 protected function pStmt_Do(Stmt\Do_ $node): string {
1007 protected function pStmt_Nop(Stmt\Nop $node): string {
1130 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.php251 public function prettyPrintExpr(Expr $node): string {
384 …protected function pPrefixOp(string $class, string $operatorString, Node $node, int $precedence, i…
414 …protected function pPostfixOp(string $class, Node $node, string $operatorString, int $precedence, …
556 protected function pFallback(Node $node, int $precedence, int $lhsPrecedence): string {
573Node $node, int $precedence = self::MAX_PRECEDENCE, int $lhsPrecedence = self::MAX_PRECEDENCE,
1116 protected function callLhsRequiresParens(Node $node): bool {
1134 protected function dereferenceLhsRequiresParens(Node $node): bool {
1147 protected function staticDereferenceLhsRequiresParens(Node $node): bool {
1170 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 {
261 protected function dumpPosition(Node $node): ?string {
H A DPrettyPrinter.php24 public function prettyPrintExpr(Expr $node): string;
H A DBuilderHelpers.php26 public static function normalizeNode($node): Node {
47 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) {
122 public function testChange(array $attributes, DummyNode $node) {
140 public function testIteration(array $attributes, Node $node) {
H A DNodeVisitorForTesting.php19 public function enterNode(Node $node) {
23 public function leaveNode(Node $node) {
H A DNodeDumperTest.php13 public function testDump($node, $dump) {
H A DCodeParsingTest.php71 public function enterNode(Node $node) {
H A DPrettyPrinterTest.php85 public function testKindAttributes($node, $expected) {
141 public function testUnnaturalLiterals($node, $expected) {
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php55 public function enterNode(Node $node) {
177 private function resolveSignature($node): void {
190 private function resolveType(?Node $node): ?Node {
250 protected function addNamespacedName(Node $node): void {
255 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) {
/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 51 milliseconds