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