Esempio n. 1
0
 @ExposedSet(name = "orelse")
 public void setOrelse(PyObject orelse) {
   this.orelse = AstAdapters.py2stmtList(orelse);
 }
Esempio n. 2
0
 @ExposedSet(name = "test")
 public void setTest(PyObject test) {
   this.test = AstAdapters.py2expr(test);
 }
Esempio n. 3
0
 @ExposedSet(name = "body")
 public void setBody(PyObject body) {
   this.body = AstAdapters.py2stmtList(body);
 }
Esempio n. 4
0
 @ExposedGet(name = "ctx")
 public PyObject getCtx() {
   return AstAdapters.expr_context2py(ctx);
 }
Esempio n. 5
0
 @ExposedSet(name = "ctx")
 public void setCtx(PyObject ctx) {
   this.ctx = AstAdapters.py2expr_context(ctx);
 }
Esempio n. 6
0
 @ExposedSet(name = "elts")
 public void setElts(PyObject elts) {
   this.elts = AstAdapters.py2exprList(elts);
 }
Esempio n. 7
0
 @ExposedSet(name = "id")
 public void setId(PyObject id) {
   this.id = AstAdapters.py2identifier(id);
 }
Esempio n. 8
0
 @ExposedSet(name = "level")
 public void setLevel(PyObject level) {
   this.level = AstAdapters.py2int(level);
 }
Esempio n. 9
0
 @ExposedSet(name = "names")
 public void setNames(PyObject names) {
   this.names = AstAdapters.py2aliasList(names);
 }
Esempio n. 10
0
 @ExposedSet(name = "module")
 public void setModule(PyObject module) {
   this.module = AstAdapters.py2identifier(module);
 }