#include <j2s_pass.h>
Inheritance diagram for j2s_FrontEndPass:
Public Methods | |
j2s_FrontEndPass (SuifEnv *env, const LString &name) | |
virtual | ~j2s_FrontEndPass (void) |
virtual String | default_outfile_name () = 0 |
Default name for the output file w/o suffix. More... | |
virtual String | file_suffix () |
Returns current file suffix for the output file, which is the default_file_suffix(). | |
virtual void | initialize () = 0 |
initializes the modules. More... | |
virtual bool | parse_command_line (TokenStream *command_line_stream) = 0 |
parses the input for this Module. | |
virtual FileSetBlock* | build_file_set_block () = 0 |
This method will be called by execute() of FrontendPass. | |
j2s_FrontEndPass (SuifEnv *env, const LString &name) | |
virtual | ~j2s_FrontEndPass (void) |
virtual String | class_file_name () |
Name of the Java class file. | |
virtual String | outfile_name () |
Name for the output file (with suffix). | |
virtual String | default_outfile_name () = 0 |
Default name for the output file w/o suffix. More... | |
virtual String | file_suffix () |
Returns current file suffix for the output file, which is the default_file_suffix(). | |
virtual void | initialize () = 0 |
initializes the modules. More... | |
virtual bool | parse_command_line (TokenStream *command_line_stream) |
parses the input for this Module. | |
virtual FileSetBlock* | build_file_set_block () = 0 |
This method will be called by execute() of FrontendPass. | |
Public Attributes | |
String | _classnames_file |
String | _output_dir |
bool | _output_to_classfile_dir |
bool | _print_suif |
bool | _init_fsb |
bool | _help |
OptionSelection* | _opt_flags |
Add optional arguments here. | |
Static Public Methods | |
String | default_file_suffix () |
Returns default file suffix for the output file. | |
String | default_file_suffix () |
Returns default file suffix for the output file. | |
Protected Attributes | |
char* | _classname |
char* | _raw_outfile |
String | _class_file_name |
Java class file name given at command line. | |
String | _outfile_name |
Name of output file. | |
Static Protected Attributes | |
String | _dir_separator = String("/") |
All j2s front-end passes take the same command line arguments and expect a Java class file as input file.
|
|
|
|
|
This method will be called by execute() of FrontendPass.
Reimplemented from FrontendPass.
Reimplemented in J2sClosurePass, j2s_Pass, md_Pass, and sup_Pass.
|
This method will be called by execute() of FrontendPass.
Reimplemented from FrontendPass.
Reimplemented in J2sClosurePass, j2s_Pass, md_Pass, and sup_Pass.
|
Name of the Java class file.
|
Returns default file suffix for the output file.
|
Returns default file suffix for the output file.
|
Default name for the output file w/o suffix.
Used if no file name is given at the command line.
Reimplemented in J2sClosurePass, j2s_Pass, md_Pass, and sup_Pass.
|
Default name for the output file w/o suffix.
Used if no file name is given at the command line.
Reimplemented in J2sClosurePass, j2s_Pass, md_Pass, and sup_Pass.
|
Returns current file suffix for the output file, which is the default_file_suffix().
|
Returns current file suffix for the output file, which is the default_file_suffix().
|
initializes the modules.
This method must/will be called before a call to parse_command_line or execute
Reimplemented from FrontendPass.
Reimplemented in J2sClosurePass, j2s_Pass, md_Pass, and sup_Pass.
|
initializes the modules.
This method must/will be called before a call to parse_command_line or execute
Reimplemented from FrontendPass.
Reimplemented in J2sClosurePass, j2s_Pass, md_Pass, and sup_Pass.
|
Name for the output file (with suffix).
|
parses the input for this Module.
Reimplemented from Module.
Reimplemented in J2sClosurePass, j2s_Pass, md_Pass, and sup_Pass.
|
parses the input for this Module.
Reimplemented from Module.
Reimplemented in J2sClosurePass, j2s_Pass, md_Pass, and sup_Pass.
|
Java class file name given at command line.
|
|
|
|
|
|
Add optional arguments here.
|
Name of output file.
|
|
|
|