/home/techb158/ileadtechnology.com/SSM/vendor/nikic/php-parser/lib/PhpParser
NameSizeModeActions
Builder/-0755rm
Comment/-0755rm
ErrorHandler/-0755rm
Internal/-0755rm
Lexer/-0755rm
Node/-0755rm
NodeVisitor/-0755rm
Parser/-0755rm
PrettyPrinter/-0755rm
Builder.php2030644editdlrm
BuilderFactory.php96500644editdlrm
BuilderHelpers.php89990644editdlrm
Comment.php75460644editdlrm
ConstExprEvaluationException.php860644editdlrm
ConstExprEvaluator.php91280644editdlrm
Error.php50420644editdlrm
ErrorHandler.php2940644editdlrm
JsonDecoder.php33750644editdlrm
Lexer.php171170644editdlrm
NameContext.php99230644editdlrm
Node.php39750644editdlrm
NodeAbstract.php51480644editdlrm
NodeDumper.php67480644editdlrm
NodeFinder.php24520644editdlrm
NodeTraverser.php105920644editdlrm
NodeTraverserInterface.php6290644editdlrm
NodeVisitor.php20260644editdlrm
NodeVisitorAbstract.php4380644editdlrm
Parser.php6280644editdlrm
ParserAbstract.php408840644editdlrm
ParserFactory.php16140644editdlrm
PrettyPrinterAbstract.php566870644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/nikic/php-parser/lib/PhpParser/BuilderFactory.php (9650B)
args($args) ); } /** * Creates a method call node. * * @param Expr $var Variable the method is called on * @param string|Identifier|Expr $name Method name * @param array $args Method arguments * * @return Expr\MethodCall */ public function methodCall(Expr $var, $name, array $args = []) : Expr\MethodCall { return new Expr\MethodCall( $var, BuilderHelpers::normalizeIdentifierOrExpr($name), $this->args($args) ); } /** * Creates a static method call node. * * @param string|Name|Expr $class Class name * @param string|Identifier|Expr $name Method name * @param array $args Method arguments * * @return Expr\StaticCall */ public function staticCall($class, $name, array $args = []) : Expr\StaticCall { return new Expr\StaticCall( BuilderHelpers::normalizeNameOrExpr($class), BuilderHelpers::normalizeIdentifierOrExpr($name), $this->args($args) ); } /** * Creates an object creation node. * * @param string|Name|Expr $class Class name * @param array $args Constructor arguments * * @return Expr\New_ */ public function new($class, array $args = []) : Expr\New_ { return new Expr\New_( BuilderHelpers::normalizeNameOrExpr($class), $this->args($args) ); } /** * Creates a constant fetch node. * * @param string|Name $name Constant name * * @return Expr\ConstFetch */ public function constFetch($name) : Expr\ConstFetch { return new Expr\ConstFetch(BuilderHelpers::normalizeName($name)); } /** * Creates a property fetch node. * * @param Expr $var Variable holding object * @param string|Identifier|Expr $name Property name * * @return Expr\PropertyFetch */ public function propertyFetch(Expr $var, $name) : Expr\PropertyFetch { return new Expr\PropertyFetch($var, BuilderHelpers::normalizeIdentifierOrExpr($name)); } /** * Creates a class constant fetch node. * * @param string|Name|Expr $class Class name * @param string|Identifier $name Constant name * * @return Expr\ClassConstFetch */ public function classConstFetch($class, $name): Expr\ClassConstFetch { return new Expr\ClassConstFetch( BuilderHelpers::normalizeNameOrExpr($class), BuilderHelpers::normalizeIdentifier($name) ); } /** * Creates nested Concat nodes from a list of expressions. * * @param Expr|string ...$exprs Expressions or literal strings * * @return Concat */ public function concat(...$exprs) : Concat { $numExprs = count($exprs); if ($numExprs < 2) { throw new \LogicException('Expected at least two expressions'); } $lastConcat = $this->normalizeStringExpr($exprs[0]); for ($i = 1; $i < $numExprs; $i++) { $lastConcat = new Concat($lastConcat, $this->normalizeStringExpr($exprs[$i])); } return $lastConcat; } /** * @param string|Expr $expr * @return Expr */ private function normalizeStringExpr($expr) : Expr { if ($expr instanceof Expr) { return $expr; } if (\is_string($expr)) { return new String_($expr); } throw new \LogicException('Expected string or Expr'); } }