-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathexpr.java
More file actions
42 lines (33 loc) · 1.09 KB
/
Copy pathexpr.java
File metadata and controls
42 lines (33 loc) · 1.09 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
// Autogenerated AST node
package org.python.antlr.base;
import org.antlr.runtime.Token;
import org.python.antlr.AST;
import org.python.antlr.PythonTree;
import org.python.core.PyUnicode;
import org.python.core.PyType;
import org.python.expose.ExposedGet;
import org.python.expose.ExposedType;
@ExposedType(name = "_ast.expr", base = AST.class)
public abstract class expr extends PythonTree {
public static final PyType TYPE = PyType.fromClass(expr.class);
private final static PyUnicode[] fields = new PyUnicode[0];
@ExposedGet(name = "_fields")
public PyUnicode[] get_fields() { return fields; }
private final static PyUnicode[] attributes =
new PyUnicode[] {new PyUnicode("lineno"), new PyUnicode("col_offset")};
@ExposedGet(name = "_attributes")
public PyUnicode[] get_attributes() { return attributes; }
public expr() {
}
public expr(PyType subType) {
}
public expr(int ttype, Token token) {
super(ttype, token);
}
public expr(Token token) {
super(token);
}
public expr(PythonTree node) {
super(node);
}
}