Interface InlineHTMLTree
- All Superinterfaces:
StatementTree
,Tree
- All Known Implementing Classes:
InlineHTMLTreeImpl
This interface presents HTML code embedded into php code.
NOTE! If you want consider all HTML code in the tree you should use SyntaxToken
with kind Tree.Kind.INLINE_HTML_TOKEN
.
In the following code both "?> </a> <?php" are presented as Tree.Kind.INLINE_HTML_TOKEN
but in first line this token is part of assignment statement
(ExpressionStatementTree.eosToken()
).
... $a = 5 ?> </a> <?php ... // "?> </a> <?php" is considered as end of assignment statement
... $a = 5; ?> </a> <?php ... // ";" is considered as end of assignment statement and "?> </a> <?php" is considered as instance of InlineHTMLTree
-
Nested Class Summary
-
Method Summary
-
Method Details
-
inlineHTMLToken
SyntaxToken inlineHTMLToken()
-