class CODE_OPTIONS < $GET_OPTIONS |
---|
**** | This is an options handler for things with back-ends. Don't put things that are specific to the ICSI `cs' compiler (e.g. CGEN) here; this is meant to be usable for other back-ends. Modify CS_OPTIONS for such things instead. |
$GET_OPTIONS | GET_OPTIONS | CS_COMPONENT |
CS_OPTIONS |
attr all:BOOL; |
---|
attr all:BOOL; |
---|
attr arg_locations:ARRAY{STR}; |
---|
attr arg_locations:ARRAY{STR}; |
---|
attr args:ARRAY{STR}; |
---|
attr args:ARRAY{STR}; |
---|
args_from_file(name:STR):FLIST{STR} |
---|
**** | #OUT+"reading module "+name+"\n"; |
barf(msg:STR) |
---|
attr classes:FSET{STR}; |
---|
attr classes:FSET{STR}; |
---|
directory(nm:STR):STR |
---|
**** | The directory in which nm resides |
files:FSET{STR} |
---|
**** | get a list of files from the command line |
get_classes |
---|
**** | get a list of classes from the argument list |
get_files |
---|
**** | get list of files from the command line and put in appropriate set |
attr got_libs:BOOL; |
---|
attr got_libs:BOOL; |
---|
handle_files(s:STR) |
---|
handle_other_file_suffix(arg,suf:STR) |
---|
**** | Meant to be overridden |
handle_other_options(s:STR) |
---|
home_expand(s:STR):STR |
---|
**** | Expand any occurances of '%' with the Sather home directory. |
insert_here(cl:FLIST{STR},filename: STR) |
---|
**** | insert a list of args so it will be read next |
is_class_name(nm:STR):BOOL |
---|
**** | is this string a viable class name? |
is_filename(fn:STR):BOOL |
---|
mention(name,s1,s2:STR):STR |
---|
more_args:BOOL |
---|
attr next:INT; |
---|
attr next:INT; |
---|
next_arg:STR |
---|
create(p:PROG):SAME |
---|
str:STR |
---|
**** | diagnostic for printing the state of a command line parse |
attr paths:FSET{STR}; |
---|
**** | Resolved Sather source paths (to allow redundancy in on command line) |
attr paths:FSET{STR}; |
---|
**** | Resolved Sather source paths (to allow redundancy in on command line) |
suffix(a:STR):STR |
---|
usage |
---|