| java.lang.Object org.openlaszlo.sc.CommonGenerator
All known Subclasses: org.openlaszlo.sc.CodeGenerator, org.openlaszlo.sc.JavascriptGenerator,
CommonGenerator | abstract public class CommonGenerator implements ASTVisitor(Code) | | |
Inner Class :static class LessHalfAssedHashMap extends HashMap | |
Inner Class :static class ParseResult | |
Inner Class :static class DoubleCollator implements Comparator | |
Method Summary | |
protected Integer | UUID() | public SimpleNode | dispatchExpression(SimpleNode node, boolean isReferenced) | Boolean | evaluateCompileTimeConditional(SimpleNode node) | String | getCodeGenerationOptionsKey(List ignore) | public InstructionCollector | getCollector() | public TranslationContext | getContext() | public Compiler.OptionMap | getOptions() | String | includeFileToSourceString(File file, String userfname) | File | includeNameToFile(String userfname) | boolean | isExpressionType(SimpleNode node) | ParseResult | parseFile(File file, String userfname, String source) | static SimpleNode | parseFragment(String code) | public void | setOptions(Compiler.OptionMap options) | abstract protected void | setRuntime(String runtime) | abstract void | showStats(SimpleNode node) Collect runtime statistics at this point in the program if asked for. | abstract SimpleNode | translateAbruptCompletion(SimpleNode node, String type, ASTIdentifier label) | abstract SimpleNode | translateAndOrExpression(SimpleNode node, boolean isand, SimpleNode a, SimpleNode b) | public void | translateClassDirectivesBlock(SimpleNode[] dirs, String classnameString, List props, List classProps, List stmts) | abstract SimpleNode | translateForInStatement(SimpleNode node, SimpleNode var, Instructions.Instruction varset, SimpleNode obj, SimpleNode body) | public SimpleNode | translateSuperCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitAndExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitBreakStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitChildren(SimpleNode node) | public SimpleNode | visitClassDefinition(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitContinueStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitDirectiveBlock(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitForVarInStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitIfDirective(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitLabeledStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitModifiedDefinition(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitOrExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitPragmaDirective(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitStatement(SimpleNode node) | public SimpleNode | visitStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitStatementList(SimpleNode node, SimpleNode[] stmts) | public SimpleNode | visitVariableDeclarationList(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitVariableStatement(SimpleNode node, SimpleNode[] children) |
NonCodeGenerationOptions | static Set NonCodeGenerationOptions(Code) | | |
debugVisit | boolean debugVisit(Code) | | |
getCodeGenerationOptionsKey | String getCodeGenerationOptionsKey(List ignore)(Code) | | |
setRuntime | abstract protected void setRuntime(String runtime)(Code) | | |
showStats | abstract void showStats(SimpleNode node)(Code) | | Collect runtime statistics at this point in the program if asked for.
|
|
|