|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mozilla.javascript.RhinoToAstTranslator
public class RhinoToAstTranslator
| Field Summary | |
|---|---|
static java.lang.String |
CTOR_CALL_FN_NAME
name used for constructor calls, used to distinguish them from standard function calls |
static java.lang.String |
STANDARD_CALL_FN_NAME
a dummy name to use for standard function calls, only used to distinguish them from constructor calls |
| Constructor Summary | |
|---|---|
RhinoToAstTranslator(CAst Ast,
SourceModule M,
java.lang.String scriptName)
|
|
| Method Summary | |
|---|---|
CAstEntity |
translate()
parse the JavaScript code using Rhino, and then translate the resulting AST to CAst |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STANDARD_CALL_FN_NAME
public static final java.lang.String CTOR_CALL_FN_NAME
| Constructor Detail |
|---|
public RhinoToAstTranslator(CAst Ast,
SourceModule M,
java.lang.String scriptName)
| Method Detail |
|---|
public CAstEntity translate()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||