-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathIn.java
More file actions
47 lines (37 loc) · 1.18 KB
/
Copy pathIn.java
File metadata and controls
47 lines (37 loc) · 1.18 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.cmpop;
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.In", base = cmpop.class)
public class In extends PythonTree {
public static final PyType TYPE = PyType.fromClass(In.class);
public In() {
}
public In(PyType subType) {
super(subType);
}
@ExposedNew
@ExposedMethod
public void In___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 In___int__();
}
final PyObject In___int__() {
return Py.newInteger(9);
}
}