org.jacorb.idl
public class parser extends lr_parser
Field Summary | |
---|---|
protected CUP$actions | action_obj instance of action encapsulation class |
protected static boolean | addbackend |
protected static boolean | cldc10 |
static String | compiler_version |
static String | currentDate |
static String | currentVersion |
static boolean | done_parsing used for internal checking that name conversion
to mapped Java names is done only after parsing |
protected static String | finalString |
protected static boolean | forceOverwrite |
protected static boolean | generateDiiStubs |
protected static boolean | generateIncluded |
static boolean | generateIR |
static boolean | generate_ami_callback |
static boolean | generate_ami_polling |
static boolean | generate_skeletons |
static boolean | generate_stubs |
static IDLTreeVisitor | generator |
static boolean | include_state compiler flags |
protected static boolean | inhibitionState |
protected static boolean | localityContraint |
static String | out_dir |
static Hashtable | pack_replace |
static Stack | scopes |
static boolean | sloppy |
static boolean | strict_attributes |
static boolean | strict_inheritance these two are to work around buggy IDL generated by Sun's rmic in JDK 1.4 |
static boolean | strict_names |
protected static boolean | useUncheckedNarrow |
protected static short[][] | _action_table parse action table |
protected static short[][] | _production_table production table |
protected static short[][] | _reduce_table reduce_goto table |
Constructor Summary | |
---|---|
parser() constructor |
Method Summary | |
---|---|
short[][] | action_table() access to parse action table |
static int | activeParseThreads() |
static void | closeScope(Scope symbol) called from within the parser whenever parsing a scope
symbol is complete |
static boolean | compile(String[] argv) |
static boolean | compile(String[] argv, StringWriter logWriter) |
static boolean | compileAndHandle(String[] argv) |
static ScopeData | currentScopeData() |
static void | decActiveParseThreads() |
symbol | do_action(int act_num, lr_parser parser, Stack stack, int top) invoke a user supplied parse action |
static void | error(String message, str_token p_info) |
static void | error(String message) |
int | error_sym() error symbol index |
int | EOF_sym() EOF symbol index |
static void | fatal_error(String message, str_token p_info) |
static boolean | generateIncluded() |
static String | getFinalString() |
static IDLTreeVisitor | getGenerator() |
static boolean | getInhibitionState() |
static Logger | getLogger()
convenience access to the preconfigured loger for the
IDL compiler |
static Object | get_pending(String name) |
static void | incActiveParseThreads() |
protected static void | init()
allows reinitialization if compiler is not
run from a command-line |
protected void | init_actions() action encapsulation object initializer |
static void | main(String[] argv) |
static void | openScope() called from the lexer/scanner whenever a scope opening
symbol is encountered |
static String | pack_replace(String old)
Package replacements as requested
by compiler options |
short[][] | production_table() access to production table |
short[][] | reduce_table() access to reduce_goto table |
static void | remove_pending(String name) |
void | report_error(String message, Object info) |
void | report_fatal_error(String message, Object info) |
token | scan() scan to get the next token |
static void | setFinalString(String finalString) |
static void | setGenerateFinalCode(boolean isFinal) |
static void | setGenerator(IDLTreeVisitor generatorObject) |
static void | setInhibitionState(boolean flag) |
static void | set_included(boolean i) |
static void | set_pending(String name) |
int | start_production() start production |
int | start_state() start state |
static void | usage(String[] argv, String msg) |
void | user_init() user initialization |