Gelatin.compiler package

Module contents

Gelatin.compiler.Context module

class Gelatin.compiler.Context.Context[source]

Bases: object

__init__()[source]
dump()[source]
parse(filename, builder, encoding='utf8', debug=0)[source]
parse_string(input, builder, debug=0)[source]
Gelatin.compiler.Context.do_fail(context, message='No matching statement found')[source]
Gelatin.compiler.Context.do_next(context)[source]
Gelatin.compiler.Context.do_return(context, levels=1)[source]
Gelatin.compiler.Context.do_say(context, message)[source]
Gelatin.compiler.Context.do_skip(context)[source]
Gelatin.compiler.Context.do_warn(context, message)[source]
Gelatin.compiler.Context.out_add(context, path, data=None)[source]
Gelatin.compiler.Context.out_add_attribute(context, path, name, value)[source]
Gelatin.compiler.Context.out_clear_queue(context)[source]
Gelatin.compiler.Context.out_create(context, path, data=None)[source]
Gelatin.compiler.Context.out_enqueue_after(context, regex, path, data=None)[source]
Gelatin.compiler.Context.out_enqueue_before(context, regex, path, data=None)[source]
Gelatin.compiler.Context.out_enqueue_on_add(context, regex, path, data=None)[source]
Gelatin.compiler.Context.out_enter(context, path)[source]
Gelatin.compiler.Context.out_open(context, path)[source]
Gelatin.compiler.Context.out_replace(context, path, data=None)[source]

Gelatin.compiler.SyntaxCompiler module

class Gelatin.compiler.SyntaxCompiler.SyntaxCompiler[source]

Bases: simpleparse.dispatchprocessor.DispatchProcessor

Processor sub-class defining processing functions for the productions.

__init__()[source]
define_stmt(token, buffer)[source]
grammar_stmt(token, buffer)[source]
reset()[source]