Méthode |
Description |
|
createQualifiedTypeName ( string $localName ) : string |
This method creates a qualified class or interface name based on the
current parser state. By default method uses the current namespace scope
as prefix for the given local name. And it will fallback to a previously
parsed package annotation, when no namespace declaration was parsed. |
|
extractPostfixImage ( PDepend\Source\AST\ASTNode $node ) : string |
This method will extract the image/name of the real property/variable
that is wrapped by {@link \PDepend\Source\AST\ASTIndexExpression} nodes. If
the given node is now wrapped by index expressions, this method will
return the image of the entire $node. |
|
getNamespaceOrPackage ( ) : PDepend\Source\AST\ASTNamespace |
Returns the currently active package or namespace. |
|
getNamespaceOrPackageName ( ) : string |
Returns the name of a declared names. When the parsed code is not namespaced
this method will return the name from the @package annotation. |
|
isAlternativeScopeTermination ( integer $tokenType ) : boolean |
This method returns true when the given token identifier represents
the end token of a alternative scope termination symbol. Otherwise this
method will return false. |
|
isNextTokenByReference ( ) : boolean |
Tests that the next available token is the returns by reference token. |
|
isNextTokenFormalParameterList ( ) : boolean |
Tests that the next available token is an opening parenthesis. |
|
isReadWriteVariable ( PDepend\Source\AST\ASTNode $expr ) : boolean |
Checks if the given expression is a read/write variable as defined in
the PHP zend_language_parser.y definition. |
|
parseAllocationExpression ( ) : PDepend\Source\AST\ASTAllocationExpression |
Parses an allocation expression. |
|
parseAlternativeScope ( ) : PDepend\Source\AST\ASTScopeStatement |
Parses the scope of a statement that is surrounded with PHP's alternative
syntax for statements. |
|
parseAlternativeScopeTermination ( integer $tokenType ) : void |
Parses a series of tokens that represent an alternative scope termination. |
|
parseArrayIndexExpression ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTArrayIndexExpression |
Parses a mandatory array index expression. |
|
parseBoundVariables ( PDepend\Source\AST\ASTClosure $closure ) : PDepend\Source\AST\ASTClosure |
Parses a list of bound closure variables. |
|
parseBraceExpression ( PDepend\Source\AST\ASTNode $node, PDepend\Source\Tokenizer\Token $start, integer $closeToken ) : PDepend\Source\AST\ASTNode |
This method parses a brace expression and adds all parsed node instances
to the given {@link \PDepend\Source\AST\ASTNode} object. Finally it returns
the prepared input node. |
|
parseBreakStatement ( ) : PDepend\Source\AST\ASTBreakStatement |
This method parses a break-statement node. |
|
parseByReference ( ) : boolean |
This method parses a returns by reference token and returns true. |
|
parseCallableDeclaration ( PDepend\Source\AST\AbstractASTCallable $callable ) : void |
Parses a function or a method and adds it to the parent context node. |
|
parseCatchStatement ( ) : PDepend\Source\AST\ASTCatchStatement |
This method parses a catch-statement. |
|
parseClassModifiers ( ) : void |
This method parses an optional class modifier. Valid class modifiers are
final or abstract. |
|
parseClassOrInterfaceReference ( boolean $classReference ) : PDepend\Source\AST\ASTClassOrInterfaceReference |
Parses a class or interface reference node. |
|
parseCloneExpression ( ) : PDepend\Source\AST\ASTCloneExpression |
Parses a clone-expression node. |
|
parseClosureDeclaration ( ) : PDepend\Source\AST\ASTClosure |
This method parses a PHP 5.3 closure or lambda function. |
|
parseCommentWithOptionalInlineClassOrInterfaceReference ( ) : PDepend\Source\AST\ASTComment |
Parses a comment and optionally an embedded class or interface type
annotation. |
|
parseCompoundExpressionOrLiteral ( ) : PDepend\Source\AST\ASTNode |
This method parses a compound expression like: |
|
parseCompoundVariable ( PDepend\Source\Tokenizer\Token $token ) : PDepend\Source\AST\ASTCompoundVariable |
This method parses a compound variable like: |
|
parseCompoundVariableOrLiteral ( ) : PDepend\Source\AST\ASTNode |
Parses a PHP compound variable or a simple literal node. |
|
parseCompoundVariableOrVariableVariable ( ) : PDepend\Source\AST\ASTNode |
This method implements a decision point between compound-variables and
variable-variable. It expects that the next token in the token-stream is
of type T_DOLLAR and removes it from the stream. Then this method
peeks the next available token when it is of type T_CURLY_BRACE_OPEN
this is compound variable, otherwise it can be a variable-variable or a
compound-variable. |
|
parseConstantDefinition ( ) : PDepend\Source\AST\ASTConstantDefinition |
Parses a single constant definition with one or more constant declarators. |
|
parseConstantOrParentMemberPrimaryPrefix ( ) : PDepend\Source\AST\ASTNode |
This method parses a {@link \PDepend\Source\AST\ASTConstant} node or
an instance of {@link \PDepend\Source\AST\ASTParentReference} as part
of a {@link \PDepend\Source\AST\ASTMemberPrimaryPrefix} that contains
the parent reference as its first child when the self token is followed
by a double colon token. |
|
parseConstantOrSelfMemberPrimaryPrefix ( ) : PDepend\Source\AST\ASTNode |
This method parses a {@link \PDepend\Source\AST\ASTConstant} node or
an instance of {@link \PDepend\Source\AST\ASTSelfReference} as part of
a {@link \PDepend\Source\AST\ASTMemberPrimaryPrefix} that contains the
self reference as its first child when the self token is followed by a
double colon token. |
|
parseContinueStatement ( ) : PDepend\Source\AST\ASTContinueStatement |
This method parses a continue-statement node. |
|
parseDeclareList ( PDepend\Source\AST\ASTDeclareStatement $stmt ) : PDepend\Source\AST\ASTDeclareStatement |
This method parses a list of declare values. A declare list value always
consists of a string token and a static scalar. |
|
parseDeclareStatement ( ) : PDepend\Source\AST\ASTDeclareStatement |
This method parses a declare-statement. |
|
parseDecrementExpression ( array &$expressions ) : PDepend\Source\AST\ASTExpression |
This method will parse an decrement-expression. Depending on the previous
node this can be a {@link \PDepend\Source\AST\ASTPostDecrementExpression} or
{@link \PDepend\Source\AST\ASTPostfixExpression}. |
|
parseDoWhileStatement ( ) : PDepend\Source\AST\ASTDoWhileStatement |
This method parses a do/while-statement. |
|
parseEchoStatement ( ) : PDepend\Source\AST\ASTEchoStatement |
This method parses a echo-statement node. |
|
parseElseIfStatement ( ) : PDepend\Source\AST\ASTElseIfStatement |
This method parses a single elseif-statement node. |
|
parseEscapedAstLiteralString ( ) : PDepend\Source\AST\ASTLiteral |
This method parses an escaped sequence of literal tokens. |
|
parseEvalExpression ( ) : PDepend\Source\AST\ASTEvalExpression |
Parses a eval-expression node. |
|
parseExitExpression ( ) : PDepend\Source\AST\ASTExitExpression |
This method parses an exit-expression. |
|
parseExpression ( ) : PDepend\Source\AST\ASTNode |
This method parses an expression node and returns it. When no expression
was found this method will throw an InvalidStateException. |
|
parseExpressionList ( PDepend\Source\AST\ASTNode $exprList ) : PDepend\Source\AST\ASTNode |
This method parses multiple expressions and adds them as children to the
given $exprList node. |
|
parseFieldDeclaration ( ) : PDepend\Source\AST\ASTFieldDeclaration |
This method will parse a class field declaration with all it's variables. |
|
parseFieldDeclarationClassOrInterfaceReference ( ) : PDepend\Source\AST\ASTClassOrInterfaceReference |
Extracts non scalar types from a field doc comment and creates a
matching type instance. |
|
parseFieldDeclarationType ( ) : PDepend\Source\AST\ASTType |
This method will extract the type information of a property from it's
doc comment information. The returned value will be null when no
type information exists. |
|
parseFinallyStatement ( ) : PDepend\Source\AST\ASTFinallyStatement |
This method parses a finally-statement. |
|
parseForExpression ( ) : PDepend\Source\AST\ASTExpression |
Parses the expression part of a for-statement. |
|
parseForInit ( ) : PDepend\Source\AST\ASTForInit |
Parses the init part of a for-statement. |
|
parseForStatement ( ) : PDepend\Source\AST\ASTForStatement |
This method parses a single for-statement node. |
|
parseForUpdate ( ) : PDepend\Source\AST\ASTForUpdate |
Parses the update part of a for-statement. |
|
parseForeachStatement ( ) : PDepend\Source\AST\ASTForeachStatement |
This method parses a single foreach-statement node. |
|
parseFormalParameterAndArrayTypeHint ( ) : PDepend\Source\AST\ASTFormalParameter |
This method parses a formal parameter that has an array type hint. |
|
parseFormalParameterAndByReference ( ) : PDepend\Source\AST\ASTFormalParameter |
This method will parse a formal parameter that is passed by reference. |
|
parseFormalParameterAndParentTypeHint ( ) : PDepend\Source\AST\ASTFormalParameter |
This method will parse a formal parameter that has the keyword parent as
parameter type hint. |
|
parseFormalParameterAndSelfTypeHint ( ) : PDepend\Source\AST\ASTFormalParameter |
This method will parse a formal parameter that has the keyword self as
parameter type hint. |
|
parseFormalParameterAndTypeHint ( ) : PDepend\Source\AST\ASTFormalParameter |
This method parses a formal parameter that has a regular class type hint. |
|
parseFormalParameterOrTypeHintOrByReference ( ) : PDepend\Source\AST\ASTFormalParameter |
This method parses a formal parameter in all it's variations. |
|
parseFormalParameters ( ) : PDepend\Source\AST\ASTFormalParameters |
Extracts all dependencies from a callable signature. |
|
parseFullQualifiedClassNamePostfix ( ) : PDepend\Source\AST\ASTClassFqnPostfix |
Parses a full qualified class name postfix. |
|
parseFunctionDeclaration ( ) : PDepend\Source\AST\ASTFunction |
This method parses a function declaration. |
|
parseFunctionOrClosureDeclaration ( ) : PDepend\Source\AST\AbstractASTCallable |
This method parses a simple function or a PHP 5.3 lambda function or
closure. |
|
parseFunctionPostfix ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTNode |
This method parses a function postfix expression. An object of type
{@link \PDepend\Source\AST\ASTFunctionPostfix} represents any valid php
function call. |
|
parseGlobalStatement ( ) : PDepend\Source\AST\ASTGlobalStatement |
This method parses a global-statement. |
|
parseGotoStatement ( ) : PDepend\Source\AST\ASTGotoStatement |
This method parses a goto-statement. |
|
parseIfStatement ( ) : PDepend\Source\AST\ASTIfStatement |
This method parses a single if-statement node. |
|
parseIncludeExpression ( ) : PDepend\Source\AST\ASTIncludeExpression |
Parses a include-expression node. |
|
parseIncludeOnceExpression ( ) : PDepend\Source\AST\ASTIncludeExpression |
Parses a include_once-expression node. |
|
parseIncrementExpression ( array &$expressions ) : PDepend\Source\AST\ASTExpression |
This method will parse an increment-expression. Depending on the previous
node this can be a {@link \PDepend\Source\AST\ASTPostIncrementExpression} or
{@link \PDepend\Source\AST\ASTPostfixExpression}. |
|
parseIndexExpression ( PDepend\Source\AST\ASTNode $node, PDepend\Source\AST\ASTExpression $expr, integer $open, integer $close ) : PDepend\Source\AST\ASTNode |
Parses an index expression as it is valid to access elements in a php
string or array. |
|
parseInstanceOfExpression ( ) : PDepend\Source\AST\ASTInstanceOfExpression |
This method parse an instance of expression with its associated class or
interface reference. |
|
parseInterfaceDeclaration ( ) : PDepend\Source\AST\ASTInterface |
Parses the dependencies in a interface signature. |
|
parseInterfaceSignature ( ) : PDepend\Source\AST\ASTInterface |
Parses the signature of an interface and finally returns a configured
interface instance. |
|
parseIssetExpression ( ) : PDepend\Source\AST\ASTIssetExpression |
Parses an isset-expression node. |
|
parseLabelStatement ( ) : PDepend\Source\AST\ASTLabelStatement |
This method parses a label-statement. |
|
parseListExpression ( ) : PDepend\Source\AST\ASTListExpression |
This method parses a single list-statement node. |
|
parseMemberPrefixOrFunctionPostfix ( ) : PDepend\Source\AST\ASTNode |
This method parses a member primary prefix expression or a function
postfix expression node. |
|
parseMemberPrimaryPrefix ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTMemberPrimaryPrefix |
This method parses a dynamic or object bound member primary expression. |
|
parseMethodDeclaration ( ) : PDepend\Source\AST\ASTMethod |
This method parses a method declaration. |
|
parseMethodOrConstantPostfix ( ) : PDepend\Source\AST\ASTNode |
This method parses a method- or constant-postfix expression. This expression
will contain an identifier node as nested child. |
|
parseMethodOrFieldDeclaration ( integer $modifiers ) : PDepend\Source\AST\ASTMethod | PDepend\Source\AST\ASTFieldDeclaration |
This method will parse a list of modifiers and a following property or
method. |
|
parseMethodOrPropertyPostfix ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTNode |
This method parses a method- or property-postfix expression. This expression
will contain the given node as method or property identifier. |
|
parseMethodPostfix ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTMethodPostfix |
Parses a method postfix node instance. |
|
parseNamespaceDeclaration ( ) : void |
This method parses a PHP 5.3 namespace declaration. |
|
parseNonePhpCode ( ) : integer |
Parses a sequence of none php code tokens and returns the token type of
the next token. |
|
parseOptionalAlternativeScopeTermination ( ) : void |
Parses the termination of a scope statement that uses PHP's laternative
syntax format. |
|
parseOptionalBoundVariables ( PDepend\Source\AST\ASTClosure $closure ) : PDepend\Source\AST\ASTClosure |
Parses an optional set of bound closure variables. |
|
parseOptionalByReference ( ) : boolean |
Parses an optional by reference token. The return value will be
true when a reference token was found, otherwise this method will
return false. |
|
parseOptionalElseOrElseIfStatement ( PDepend\Source\AST\ASTStatement $stmt ) : PDepend\Source\AST\ASTStatement |
This method parses an optional else-, else+if- or elseif-statement. |
|
parseOptionalExtendsList ( PDepend\Source\AST\ASTInterface $interface ) : PDepend\Source\AST\ASTInterface |
Parses an optional interface list of an interface declaration. |
|
parseOptionalFunctionPostfix ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTNode |
This method will parse an optional function postfix. |
|
parseOptionalMemberPrimaryPrefix ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTNode |
This method parses an optional member primary expression. It will parse
the primary expression when an object operator can be found at the actual
token stream position. Otherwise this method simply returns the input
{@link \PDepend\Source\AST\ASTNode} instance. |
|
parseOptionalStatement ( ) : PDepend\Source\AST\ASTNode |
Parses an optional statement or returns null. |
|
parseOptionalStaticMemberPrimaryPrefix ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTNode |
This method parses an optional member primary expression. It will parse
the primary expression when a double colon operator can be found at the
actual token stream position. Otherwise this method simply returns the
input {@link \PDepend\Source\AST\ASTNode} instance. |
|
parseOptionalTraitAdaptation ( PDepend\Source\AST\ASTTraitUseStatement $useStatement ) : PDepend\Source\AST\ASTTraitUseStatement |
Parses the adaptation list of the given use statement or simply reads
the terminating semicolon, when no adaptation list exists. |
|
parsePackageAnnotation ( string $comment ) : string |
Extracts the @package information from the given comment. |
|
parseParentReference ( PDepend\Source\Tokenizer\Token $token ) : PDepend\Source\AST\ASTNode |
This method parses a {@link \PDepend\Source\AST\ASTParentReference} node. |
|
parseParenthesisExpression ( ) : PDepend\Source\AST\ASTExpression |
Parses any expression that is surrounded by an opening and a closing
parenthesis |
|
parsePostDecrementExpression ( PDepend\Source\AST\ASTNode $child ) : PDepend\Source\AST\ASTPostfixExpression |
Parses a post decrement-expression and adds the given child to that node. |
|
parsePostIncrementExpression ( PDepend\Source\AST\ASTNode $child ) : PDepend\Source\AST\ASTPostfixExpression |
Parses a post increment-expression and adds the given child to that node. |
|
parsePreDecrementExpression ( ) : PDepend\Source\AST\ASTPreDecrementExpression |
Parses a pre decrement-expression and adds the given child to that node. |
|
parsePreIncrementExpression ( ) : PDepend\Source\AST\ASTPreIncrementExpression |
Parses a pre increment-expression and adds the given child to that node. |
|
parsePropertyPostfix ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTPropertyPostfix |
Parses/Creates a property postfix node instance. |
|
parseQualifiedNameRaw ( ) : array(string) |
This method parses a qualified PHP 5.3 class, interface and namespace
identifier and returns the collected tokens as a string array. |
|
parseRegularScope ( ) : PDepend\Source\AST\ASTScope |
Parse a scope enclosed by curly braces. |
|
parseRequireExpression ( ) : PDepend\Source\AST\ASTRequireExpression |
Parses a require-expression node. |
|
parseRequireOnceExpression ( ) : PDepend\Source\AST\ASTRequireExpression |
Parses a require_once-expression node. |
|
parseRequireOrIncludeExpression ( PDepend\Source\AST\ASTExpression $expr, integer $type ) : PDepend\Source\AST\ASTExpression |
Parses a require_once-, require-, include_once- or
include-expression node. |
|
parseReturnAnnotation ( string $comment ) : string |
This method parses the given doc comment text for a return annotation and
it returns the found return type. |
|
parseReturnStatement ( ) : PDepend\Source\AST\ASTReturnStatement |
This method parses a single return-statement node. |
|
parseScope ( ) : PDepend\Source\AST\ASTScope |
Extracts all dependencies from a callable body. |
|
parseScopeStatements ( ) : PDepend\Source\AST\ASTScopeStatement |
Parses all statements that exist in a scope an adds them to a scope
instance. |
|
parseStatement ( ) : PDepend\Source\AST\ASTNode |
Parse a statement. |
|
parseStatementBody ( PDepend\Source\AST\ASTStatement $stmt ) : PDepend\Source\AST\ASTStatement |
Parses the body of the given statement instance and adds all parsed nodes
to that statement. |
|
parseStatementTermination ( ) : void |
Parses the termination token for a statement. This termination token can
be a semicolon or a closing php tag. |
|
parseStaticMemberPrimaryPrefix ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTMemberPrimaryPrefix |
This method parses a static member primary expression. The given node
contains the used static class or interface identifier. A static member
primary prefix can represent the following code expressions: |
|
parseStaticReference ( PDepend\Source\Tokenizer\Token $token ) : PDepend\Source\AST\ASTStaticReference |
This method parses a {@link \PDepend\Source\AST\ASTStaticReference} node. |
|
parseStaticVariableDeclaration ( PDepend\Source\Tokenizer\Token $token ) : PDepend\Source\AST\ASTStaticVariableDeclaration |
This method will parse a static variable declaration. |
|
parseStaticVariableDeclarationOrMemberPrimaryPrefix ( ) : PDepend\Source\AST\ASTConstant |
This method parses a static variable declaration list, a member primary
prefix invoked in the static context of a class or it parses a static
closure declaration. |
|
parseString ( integer $delimiterType ) : PDepend\Source\AST\ASTString |
This method parses a php string with all possible embedded expressions. |
|
parseStringExpressions ( PDepend\Source\AST\ASTNode $node, integer $stopToken ) : PDepend\Source\AST\ASTNode |
This method parses the contents of a string or here-/now-doc node. It
will not consume the given stop token, so it is up to the calling method
to consume the stop token. The return value of this method is the prepared
input string node. |
|
parseStringIndexExpression ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTStringIndexExpression |
Parses a mandatory array index expression. |
|
parseStringSequence ( integer $tokenType ) : string |
Parses a simple string sequence between two tokens of the same type. |
|
parseSwitchLabel ( ) : PDepend\Source\AST\ASTSwitchLabel |
This method parses a case label of a switch statement. |
|
parseSwitchLabelBody ( PDepend\Source\AST\ASTSwitchLabel $label ) : PDepend\Source\AST\ASTSwitchLabel |
Parses the body of an switch label node. |
|
parseSwitchLabelDefault ( ) : PDepend\Source\AST\ASTSwitchLabel |
This method parses the default label of a switch statement. |
|
parseSwitchStatement ( ) : PDepend\Source\AST\ASTSwitchStatement |
This method parses a switch statement. |
|
parseSwitchStatementBody ( PDepend\Source\AST\ASTSwitchStatement $switch ) : PDepend\Source\AST\ASTSwitchStatement |
Parses the body of a switch statement. |
|
parseThrowStatement ( ) : PDepend\Source\AST\ASTThrowStatement |
This method parses a throw-statement. |
|
parseThrowsAnnotations ( string $comment ) : array |
Returns the class names of all throws annotations with in the
given comment block. |
|
parseTraitAdaptation ( ) : PDepend\Source\AST\ASTTraitAdaptation |
Parses the adaptation expression of a trait use statement. |
|
parseTraitAdaptationAliasStatement ( array $reference ) : PDepend\Source\AST\ASTTraitAdaptationAlias |
Parses a trait adaptation alias statement. |
|
parseTraitAdaptationPrecedenceStatement ( array $reference ) : PDepend\Source\AST\ASTTraitAdaptationPrecedence |
Parses a trait adaptation precedence statement. |
|
parseTraitDeclaration ( ) : PDepend\Source\AST\ASTTrait |
Parses a trait declaration. |
|
parseTraitMethodReference ( ) : array |
Parses a trait method reference and returns the found reference as an
array. |
|
parseTraitReference ( ) : PDepend\Source\AST\ASTTraitReference |
Parses a trait reference instance. |
|
parseTraitSignature ( ) : PDepend\Source\AST\ASTTrait |
Parses the signature of a trait. |
|
parseTraitUseStatement ( ) : PDepend\Source\AST\ASTTraitUseStatement |
Parses a trait use statement. |
|
parseTryStatement ( ) : PDepend\Source\AST\ASTTryStatement |
This method parses a try-statement + associated catch-statements. |
|
parseUnsetStatement ( ) : PDepend\Source\AST\ASTUnsetStatement |
This method parses a unset-statement. |
|
parseVarAnnotation ( string $comment ) : array(string) |
This method parses the given doc comment text for a var annotation and
it returns the found property types. |
|
parseVariable ( ) : PDepend\Source\AST\ASTVariable |
This method parses a simple PHP variable. |
|
parseVariableList ( PDepend\Source\AST\ASTNode $node ) : PDepend\Source\AST\ASTNode |
This method parses a comma separated list of valid php variables and/or
properties and adds them to the given node instance. |
|
parseVariableOrFunctionPostfixOrMemberPrimaryPrefix ( ) : PDepend\Source\AST\ASTNode |
This method parses any type of variable, function postfix expressions or
any kind of member primary prefix. |
|
parseVariableOrMemberByReference ( ) : PDepend\Source\AST\ASTUnaryExpression |
Parses a variable or any other valid member expression that is prefixed
with PHP's reference operator. |
|
parseVariableOrMemberOptionalByReference ( ) : PDepend\Source\AST\ASTUnaryExpression |
Parses a variable or any other valid member expression that is optionally
prefixed with PHP's reference operator. |
|
parseWhileStatement ( ) : PDepend\Source\AST\ASTWhileStatement |
This method parses a single while-statement node. |
|
parseYield ( ) : PDepend\Source\AST\ASTYieldStatmenet |
This method parses a yield-statement node. |
|
prepareCallable ( PDepend\Source\AST\AbstractASTCallable $callable ) : void |
Extracts documented throws and return types and sets them
to the given $callable instance. |
|
reduceUnaryExpression ( array $expressions ) : PDepend\Source\AST\ASTExpression[] |
Reduces all unary-expressions in the given expression list. |
|
stripTrailingComments ( array $tokens ) : PDepend\Source\Tokenizer\Token[] |
Strips all trailing comments from the given token stream. |
|