Class ExpandableStringLiteralTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.ExpandableStringLiteralTreeImpl
- All Implemented Interfaces:
ExpandableStringLiteralTree,ExpressionTree,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionExpandableStringLiteralTreeImpl(InternalSyntaxToken openDoubleQuote, List<ExpressionTree> elements, InternalSyntaxToken closeDoubleQuote) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(VisitorCheck visitor) Creates iterator for children of this node.getKind()strings()Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
ExpandableStringLiteralTreeImpl
public ExpandableStringLiteralTreeImpl(InternalSyntaxToken openDoubleQuote, List<ExpressionTree> elements, InternalSyntaxToken closeDoubleQuote)
-
-
Method Details
-
getKind
-
openDoubleQuoteToken
- Specified by:
openDoubleQuoteTokenin interfaceExpandableStringLiteralTree- Returns:
- backtick if this string is an execution operation
-
strings
- Specified by:
stringsin interfaceExpandableStringLiteralTree
-
expressions
Description copied from interface:ExpandableStringLiteralTreeExpressions can be:- Specified by:
expressionsin interfaceExpandableStringLiteralTree
-
closeDoubleQuoteToken
- Specified by:
closeDoubleQuoteTokenin interfaceExpandableStringLiteralTree
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
-