Public Member Functions | |
PythonBlockFinishingInfo () | |
PythonBlockFinishingInfo (String ps, boolean genS, boolean generatedAnIf, boolean n) | |
Package Attributes | |
String | postscript |
boolean | generatedSwitch |
boolean | generatedAnIf |
boolean | needAnErrorClause |
antlr.PythonBlockFinishingInfo.PythonBlockFinishingInfo | ( | ) |
antlr.PythonBlockFinishingInfo.PythonBlockFinishingInfo | ( | String | ps, | |
boolean | genS, | |||
boolean | generatedAnIf, | |||
boolean | n | |||
) |
boolean antlr.PythonBlockFinishingInfo.generatedAnIf [package] |
Referenced by antlr.PythonCodeGenerator.genCommonBlock().
boolean antlr.PythonBlockFinishingInfo.generatedSwitch [package] |
boolean antlr.PythonBlockFinishingInfo.needAnErrorClause [package] |
When generating an if or switch, end-of-token lookahead sets will become the else or default clause, don't generate an error clause in this case.
Referenced by antlr.PythonCodeGenerator.genCommonBlock(), and antlr.PythonBlockFinishingInfo.PythonBlockFinishingInfo().
String antlr.PythonBlockFinishingInfo.postscript [package] |