Namespace: debug

debug

Debugging-output functions.
Source:

Methods

(static) print_grammar(mode)

Prints debugging output related to the grammar being processed, using information from the jscc.global.symbols and jscc.global.productions arrays.
Parameters:
Name Type Description
mode jscc.enums.MODE_GEN The current output mode.
Source:

(static) print_item_set(mode, label, item_set)

Prints debugging information relating to the provided array of Item objects.
Parameters:
Name Type Description
mode jscc.enums.MODE_GEN The current output mode.
label string A label for the debugging output.
item_set Array.<!jscc.classes.Item> The items for which to print information.
Source:

(static) print_symbols(mode)

Prints debugging output related to the current value of the jscc.global.symbols array.
Parameters:
Name Type Description
mode jscc.enums.MODE_GEN The current output mode.
Source: