-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathAugLoad.java
More file actions
47 lines (37 loc) · 1.23 KB
/
Copy pathAugLoad.java
File metadata and controls
47 lines (37 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Autogenerated AST node
package org.python.antlr.op;
import org.python.antlr.base.expr_context;
import org.python.antlr.PythonTree;
import org.python.core.Py;
import org.python.core.PyObject;
import org.python.core.PyUnicode;
import org.python.core.PyType;
import org.python.expose.ExposedGet;
import org.python.expose.ExposedMethod;
import org.python.expose.ExposedNew;
import org.python.expose.ExposedType;
@ExposedType(name = "_ast.AugLoad", base = expr_context.class)
public class AugLoad extends PythonTree {
public static final PyType TYPE = PyType.fromClass(AugLoad.class);
public AugLoad() {
}
public AugLoad(PyType subType) {
super(subType);
}
@ExposedNew
@ExposedMethod
public void AugLoad___init__(PyObject[] args, String[] keywords) {}
private final static PyUnicode[] fields = new PyUnicode[0];
@ExposedGet(name = "_fields")
public PyUnicode[] get_fields() { return fields; }
private final static PyUnicode[] attributes = new PyUnicode[0];
@ExposedGet(name = "_attributes")
public PyUnicode[] get_attributes() { return attributes; }
@ExposedMethod
public PyObject __int__() {
return AugLoad___int__();
}
final PyObject AugLoad___int__() {
return Py.newInteger(4);
}
}