Cloneable
Instantiable
Methods |
public
args
(
array
$args
) :
array
Normalizes an argument list. Creates Arg nodes for all arguments and converts literal values to expressions.
|
public
class
(
string
$name
) :
PhpParser\Builder\Class_
|
public
classConstFetch
(
$class
,
$name
) :
PhpParser\Node\Expr\ClassConstFetch
Creates a class constant fetch node.
|
public
concat
(
$exprs
) :
PhpParser\Node\Expr\BinaryOp\Concat
Creates nested Concat nodes from a list of expressions.
|
public
constFetch
(
$name
) :
PhpParser\Node\Expr\ConstFetch
Creates a constant fetch node.
|
public
funcCall
(
$name
,
array
$args
=
[
]
) :
PhpParser\Node\Expr\FuncCall
Creates a function call node.
|
public
function
(
string
$name
) :
PhpParser\Builder\Function_
|
public
interface
(
string
$name
) :
PhpParser\Builder\Interface_
|
public
method
(
string
$name
) :
PhpParser\Builder\Method
|
public
methodCall
(
PhpParser\Node\Expr
$var
,
$name
,
array
$args
=
[
]
) :
PhpParser\Node\Expr\MethodCall
Creates a method call node.
|
public
namespace
(
$name
) :
PhpParser\Builder\Namespace_
|
public
new
(
$class
,
array
$args
=
[
]
) :
PhpParser\Node\Expr\New_
Creates an object creation node.
|
public
param
(
string
$name
) :
PhpParser\Builder\Param
|
public
property
(
string
$name
) :
PhpParser\Builder\Property
|
public
propertyFetch
(
PhpParser\Node\Expr
$var
,
$name
) :
PhpParser\Node\Expr\PropertyFetch
Creates a property fetch node.
|
public
staticCall
(
$class
,
$name
,
array
$args
=
[
]
) :
PhpParser\Node\Expr\StaticCall
Creates a static method call node.
|
public
trait
(
string
$name
) :
PhpParser\Builder\Trait_
|
public
traitUseAdaptation
(
$trait
,
$method
=
NULL
) :
PhpParser\Builder\TraitUseAdaptation
Creates a trait use adaptation builder.
|
public
use
(
$name
) :
PhpParser\Builder\Use_
|
public
useConst
(
$name
) :
PhpParser\Builder\Use_
|
public
useFunction
(
$name
) :
PhpParser\Builder\Use_
|
public
useTrait
(
$traits
) :
PhpParser\Builder\TraitUse
|
public
val
(
$value
) :
PhpParser\Node\Expr
Creates node a for a literal value.
|
public
var
(
$name
) :
PhpParser\Node\Expr\Variable
Creates variable node.
|
Methods |
private
normalizeStringExpr
(
$expr
) :
PhpParser\Node\Expr
|