public class StartEndParenthesisModel extends Object implements ParenthesisModel
| Constructor and Description |
|---|
StartEndParenthesisModel() |
StartEndParenthesisModel(AnalysisSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEndParenthesis(Terminal t)
Returns whether this terminal is an end parenthesis as defined in the article [KiMoe] section 3.1, however
also considers "/>" an end parenthesis to support short tag form.
|
boolean |
isStartParenthesis(Terminal t)
Returns whether this terminal is a start parenthesis as defined in [KiMoe] section 3.1.
|
public StartEndParenthesisModel()
public StartEndParenthesisModel(AnalysisSettings settings)
public boolean isEndParenthesis(Terminal t)
ParenthesisVisitor has been run
on the grammar.isEndParenthesis in interface ParenthesisModelpublic boolean isStartParenthesis(Terminal t)
isStartParenthesis in interface ParenthesisModelCopyright © 2008-2013 Mathias Schwarz.