Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
/** * This method parses a compound variable like: * * <code> * // ---------------- * return ${'Foo' . 'Bar'}; * // ---------------- * </code> * * @param \PDepend\Source\Tokenizer\Token $token The dollar token. * @return \PDepend\Source\AST\ASTCompoundVariable * @since 0.10.0 */ private function parseCompoundVariable(Token $token) { return $this->parseBraceExpression($this->builder->buildAstCompoundVariable($token->image), $this->consumeToken(Tokens::T_CURLY_BRACE_OPEN), Tokens::T_CURLY_BRACE_CLOSE); }