| java.lang.Object org.openlaszlo.sc.CommonGenerator org.openlaszlo.sc.CodeGenerator
Inner Class :static class LabelMap | |
Inner Class :static class ForValue | |
Inner Class :abstract public static class Reference | |
Inner Class :abstract public static class MemberReference extends Reference | |
Inner Class :public static class VariableReference extends Reference | |
Inner Class :public static class PropertyReference extends MemberReference | |
Inner Class :public static class IndexReference extends MemberReference | |
Inner Class :public static class LiteralReference extends Reference | |
Method Summary | |
void | checkUndefinedFunction(SimpleNode node, String reference) | void | checkUndefinedMethod(SimpleNode node, String methodName) | SimpleNode[] | meterFunctionEvent(SimpleNode node, String event, String name) | public String | newLabel(SimpleNode node) | public String | newLabel(SimpleNode node, String name) | void | noteCallSite(SimpleNode node) | void | report(String reportMethod, SimpleNode node, Object message) | void | report(String reportMethod, SimpleNode node, Object message, Instruction inst) | protected void | setRuntime(String runtime) | void | showStats(SimpleNode node) | public SimpleNode | translate(SimpleNode program) | SimpleNode | translateAbruptCompletion(SimpleNode node, String type, ASTIdentifier label) | SimpleNode | translateAndOrExpression(SimpleNode node, boolean isand, SimpleNode a, SimpleNode b) | SimpleNode | translateBinaryExpression(SimpleNode node, boolean isReferenced, ASTOperator op, SimpleNode a, SimpleNode b) | SimpleNode | translateControlStructure(SimpleNode node, Object[] seq) | SimpleNode | translateForInStatement(SimpleNode node, SimpleNode var, Instruction varset, SimpleNode obj, SimpleNode body) | SimpleNode | translateForStatement(SimpleNode node, SimpleNode[] children) | void | translateFunction(SimpleNode node, boolean useName, SimpleNode[] children) | SimpleNode | translateFunctionInternal(SimpleNode node, boolean useName, SimpleNode[] children) | SimpleNode | translateInclude(String userfname, String cpass) | void | translateInternal(SimpleNode program, String cpass, boolean top) | Object | translateLiteralNode(SimpleNode node) | Reference | translateReference(SimpleNode node) | Reference | translateReference(SimpleNode node, int referenceCount) | boolean | translateReferenceForCall(SimpleNode ast) | boolean | translateReferenceForCall(SimpleNode ast, boolean checkDefined, SimpleNode node) | SimpleNode | translateXfixExpression(SimpleNode refnode, SimpleNode opnode, boolean isPrefix, boolean isReferenced) | public void | unwindEnumeration(SimpleNode node) | public SimpleNode | visitArrayLiteral(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitAssignmentExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitBinaryExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitConditionalExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitDoWhileStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitEmptyExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitExpression(SimpleNode node) | public SimpleNode | visitExpression(SimpleNode node, boolean isReferenced) | public SimpleNode | visitExpressionList(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitForInStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitForStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitForVarStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitFunctionCallParameters(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitFunctionDeclaration(SimpleNode node, SimpleNode[] ast) | public SimpleNode | visitFunctionExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitIdentifier(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitIfStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitLiteral(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitNewExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitObjectLiteral(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitPostfixExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitPrefixExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitProgram(SimpleNode node, SimpleNode[] directives, String cpass) | public SimpleNode | visitProgram(SimpleNode node, SimpleNode[] directives, String cpass, boolean top) | public SimpleNode | visitPropertyIdentifierReference(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitPropertyValueReference(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitReturnStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitSuperCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitSwitchStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitThisReference(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitThrowStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitTryStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitUnaryExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children) | public SimpleNode | visitVariableDeclaration(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitWhileStatement(SimpleNode node, SimpleNode[] children) | public SimpleNode | visitWithStatement(SimpleNode node, SimpleNode[] children) |
AssignOpTable | static LessHalfAssedHashMap AssignOpTable(Code) | | |
BinopInstrs | static LessHalfAssedHashMap BinopInstrs(Code) | | |
UnopInstrs | static LessHalfAssedHashMap UnopInstrs(Code) | | |
XfixInstrs | static LessHalfAssedHashMap XfixInstrs(Code) | | |
prevStatLine | int prevStatLine(Code) | | |
translateReference | Reference translateReference(SimpleNode node, int referenceCount)(Code) | | |
translateReferenceForCall | boolean translateReferenceForCall(SimpleNode ast)(Code) | | |
Methods inherited from org.openlaszlo.sc.CommonGenerator | protected Integer UUID()(Code)(Java Doc) public SimpleNode dispatchExpression(SimpleNode node, boolean isReferenced)(Code)(Java Doc) Boolean evaluateCompileTimeConditional(SimpleNode node)(Code)(Java Doc) String getCodeGenerationOptionsKey(List ignore)(Code)(Java Doc) public InstructionCollector getCollector()(Code)(Java Doc) public TranslationContext getContext()(Code)(Java Doc) public Compiler.OptionMap getOptions()(Code)(Java Doc) String includeFileToSourceString(File file, String userfname)(Code)(Java Doc) File includeNameToFile(String userfname)(Code)(Java Doc) boolean isExpressionType(SimpleNode node)(Code)(Java Doc) ParseResult parseFile(File file, String userfname, String source)(Code)(Java Doc) static SimpleNode parseFragment(String code)(Code)(Java Doc) public void setOptions(Compiler.OptionMap options)(Code)(Java Doc) abstract protected void setRuntime(String runtime)(Code)(Java Doc) abstract void showStats(SimpleNode node)(Code)(Java Doc) abstract SimpleNode translateAbruptCompletion(SimpleNode node, String type, ASTIdentifier label)(Code)(Java Doc) abstract SimpleNode translateAndOrExpression(SimpleNode node, boolean isand, SimpleNode a, SimpleNode b)(Code)(Java Doc) public void translateClassDirectivesBlock(SimpleNode[] dirs, String classnameString, List props, List classProps, List stmts)(Code)(Java Doc) abstract SimpleNode translateForInStatement(SimpleNode node, SimpleNode var, Instructions.Instruction varset, SimpleNode obj, SimpleNode body)(Code)(Java Doc) public SimpleNode translateSuperCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitAndExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitBreakStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitChildren(SimpleNode node)(Code)(Java Doc) public SimpleNode visitClassDefinition(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitContinueStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitDirectiveBlock(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitForVarInStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitIfDirective(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitLabeledStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitModifiedDefinition(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitOrExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitPragmaDirective(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitStatement(SimpleNode node)(Code)(Java Doc) public SimpleNode visitStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitStatementList(SimpleNode node, SimpleNode[] stmts)(Code)(Java Doc) public SimpleNode visitVariableDeclarationList(SimpleNode node, SimpleNode[] children)(Code)(Java Doc) public SimpleNode visitVariableStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
|
|
|