A | |
add [Chart.chart] |
Adds an item to the chart, if it isn't already there.
|
add_mapping_func [Grammar.grammar] |
Adds
map_func function to the grammar, if it wasn't already there.
|
add_rule [Grammar.grammar] |
Adds a new rule to the grammar.
|
arity [Grammar.grammar] | |
arity_of_type [Grammar.grammar] | |
B | |
base_cat [Grammar.grammar] | |
build_patterns [Grammar.grammar] |
Gathers information about the grammar for use by parsing
|
C | |
cat_string [Grammar.grammar] | |
chart_size [Chart.chart] | |
check_item [Grammar.rule_pat] | |
check_other_item [Grammar.rule_pat] | |
check_rules [Grammar.grammar] |
Makes sure category arities and that sort of thing are consistent.
|
contains [Chart.chart] | |
D | |
del_rule [Grammar.grammar] |
Deletes the rule at idx.
|
F | |
fill_pat_binary [Grammar.reconstruct_pat] |
Fills in pat1 and pat2 with as much information as
possible, using the information stored in this.
|
fill_pat_unary [Grammar.reconstruct_pat] |
Fills in pat with as much information as possible, using the
information stored in this.
|
G | |
get_other_cat [Grammar.rule_pat] | |
get_other_state [Grammar.rule_pat] | |
get_out_cat [Grammar.rule_pat] | |
get_rhs_state [Grammar.reconstruct_pat] | |
get_rule [Grammar.grammar] | |
get_rule_num [Grammar.rule_pat] | |
get_state [Grammar.rule_pat] | |
H | |
headcat [Grammar.rule] | |
I | |
is_empty_cat [Grammar.grammar] | |
is_eqv [Grammar.reconstruct_pat] | |
is_nonempty_cat [Grammar.grammar] | |
L | |
length [Grammar.rule] | |
lookup_base_cat [Grammar.grammar] | |
M | |
mapping_function [Grammar.grammar] | |
maptype [Grammar.rule] | |
matches [Chart.chart] | |
multi_cat_pat [Grammar.rule_pat] | |
N | |
new_base_category [Grammar.grammar] |
If there is no base category already named name, creates a
new base category with that name.
|
new_category [Grammar.grammar] |
Adds a new category to the grammar whose base category is bc.
|
new_terminal [Grammar.grammar] |
Adds
str as a new terminal item if it isn't already one.
|
num_base_cats [Grammar.grammar] | |
num_cats [Grammar.grammar] | |
num_rules [Grammar.grammar] | |
O | |
out_item [Grammar.rule_pat] | |
output_rule [Grammar.grammar] |
Displays a rule to stdout.
|
output_rules [Grammar.grammar] |
Displays the list of rules in the grammar
|
output_self [Grammar.reconstruct_pat] |
Shows the reconstruction pattern in human-readable format.
|
output_self [Grammar.rule_pat] |
Shows the pattern in human-readable form.
|
P | |
patterns [Grammar.grammar] | |
R | |
reconstruction_pattern [Grammar.grammar] | |
rhs [Grammar.rule] | |
rules_headed_by [Grammar.grammar] | |
S | |
search_item [Grammar.rule_pat] | |
set_arity [Grammar.grammar] |
Sets the arity for
cat to new_arity .
|
set_cat_info [Chart.chart] |
Sets the tree depth and search order for the category
cat .
|
set_check_state [Grammar.rule_pat] |
Sets "check state" number i to value v.
|
set_empty_cat [Grammar.grammar] |
Indicate whether
cat heads any empty productions.
|
set_eqv [Grammar.reconstruct_pat] |
Modifies this pattern to note that the indicated RHS element states
are equivalent, that is, are required to be identical.
|
set_headcat [Grammar.rule] |
Sets the head category to cat
|
set_maptype [Grammar.rule] |
Notes that the mapping function is indexed as
number typ in the grammar this rule is stored in.
|
set_nonempty_cat [Grammar.grammar] |
Indicate whether
cat heads any non-empty productions.
|
set_other_cat [Grammar.rule_pat] |
Says that the presence of the trigger item for
this pattern indicates that we should look for an item in the chart
of category cat.
|
set_other_state [Grammar.rule_pat] |
Sets "other state" number i to value v.
|
set_out_state [Grammar.rule_pat] |
Indicates that if the pattern
matches, the ith state of the item to be produced will come from
the st-idxth state of the el-idxth right-hand-side element.
|
set_rhs [Grammar.rule] |
Sets the ith RHS element to cat
|
set_rhs_state [Grammar.reconstruct_pat] |
Indicates that the jth state of the
ith element of the right hand side comes from the stth
state in the left-hand-side element
|
set_start_cat [Grammar.grammar] |
Sets the start category to cat
|
set_state [Grammar.rule_pat] |
Sets state number i to value v.
|
show_cat_info [Chart.chart] |
Displays the chart indexing information.
|
start_cat [Grammar.grammar] | |
T | |
terminal_id [Grammar.grammar] | |
terminal_name [Grammar.grammar] |