avocado.utils.external package

Submodules

avocado.utils.external.gdbmi_parser module

avocado.utils.external.gdbmi_parser.compare(a, b)
avocado.utils.external.gdbmi_parser.parse(tokens)
avocado.utils.external.gdbmi_parser.process(input)
avocado.utils.external.gdbmi_parser.scan(input)

avocado.utils.external.spark module

class avocado.utils.external.spark.GenericASTBuilder(AST, start)

Bases: avocado.utils.external.spark.GenericParser

buildASTNode(args, lhs)
nonterminal(type, args)
preprocess(rule, func)
terminal(token)
class avocado.utils.external.spark.GenericASTMatcher(start, ast)

Bases: avocado.utils.external.spark.GenericParser

foundMatch(args, func)
match(ast=None)
match_r(node)
preprocess(rule, func)
resolve(list)
class avocado.utils.external.spark.GenericASTTraversal(ast)
default(node)
postorder(node=None)
preorder(node=None)
prune()
typestring(node)
exception avocado.utils.external.spark.GenericASTTraversalPruningException

Bases: exceptions.Exception

class avocado.utils.external.spark.GenericParser(start)
add(set, item, i=None, predecessor=None, causal=None)
addRule(doc, func, _preprocess=1)
ambiguity(rules)
augment(start)
buildTree(nt, item, tokens, k)
causal(key)
collectRules()
computeNull()
deriveEpsilon(nt)
error(token)
finalState(tokens)
goto(state, sym)
gotoST(state, st)
gotoT(state, t)
isnullable(sym)
makeNewRules()
makeSet(token, sets, i)
makeSet_fast(token, sets, i)
makeState(state, sym)
makeState0()
parse(tokens)
predecessor(key, causal)
preprocess(rule, func)
resolve(list)
skip(lhs_rhs, pos=0)
typestring(token)
class avocado.utils.external.spark.GenericScanner(flags=0)
error(s, pos)
makeRE(name)
position(newpos=None)
reflect()
t_default(s)

( . | n )+

tokenize(s)

Module contents