Method | Description | |
---|---|---|
Main ( string args ) : void |
Main entry point. Main entry point. Process arguments as would a normal Java program. Then set up the execution environment and begin to compile scripts. |
|
ProcessOptions ( string args ) : string[] |
Parse arguments. Parse arguments. |
|
ProcessSource ( string filenames ) : void |
Compile JavaScript source. Compile JavaScript source. |
|
Program ( ) : System |
Method | Description | |
---|---|---|
AddError ( string messageId, string arg ) : void | ||
AddFormatedError ( string message ) : void | ||
BadUsage ( string s ) : void |
Print a usage message. Print a usage message. |
|
GetClassName ( string name ) : string |
Verify that class file names are legal Java identifiers. Verify that class file names are legal Java identifiers. Substitute illegal characters with underscores, and prepend the name with an underscore if the file name does not begin with a JavaLetter. |
|
GetOutputFile ( |
||
P ( string s ) : void | ||
ReadSource ( |
public ProcessOptions ( string args ) : string[] | ||
args | string | |
return | string[] |
public ProcessSource ( string filenames ) : void | ||
filenames | string | |
return | void |