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 TypeMethodDescriptionvoid
accept
(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:
openDoubleQuoteToken
in interfaceExpandableStringLiteralTree
- Returns:
- backtick if this string is an execution operation
-
strings
- Specified by:
strings
in interfaceExpandableStringLiteralTree
-
expressions
Description copied from interface:ExpandableStringLiteralTree
Expressions can be:- Specified by:
expressions
in interfaceExpandableStringLiteralTree
-
closeDoubleQuoteToken
- Specified by:
closeDoubleQuoteToken
in interfaceExpandableStringLiteralTree
-
childrenIterator
Description copied from class:PHPTree
Creates iterator for children of this node. Note that iterator may containnull
elements.- Specified by:
childrenIterator
in classPHPTree
-
accept
-