def expand(self, start, end, context): start\ .connect(tnode(INIT_PROPERTIES))\ .connect(tnode(BRACE_OPEN))\ .connect(oneToMany(InitProperty('init')))\ .connect(tnode(BRACE_CLOSE))\ .connect(end)
def expand(self, start, end, context): start\ .connect(tnode(ERROR_DOMAIN))\ .connect(tnode(ID, 'name'))\ .connect(tnode(BRACE_OPEN))\ .connect(oneToMany(Code('code')))\ .connect(tnode(BRACE_CLOSE))\ .connect(end)