| Modifier and Type | Field and Description |
|---|---|
| public NNode | |
| public List | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public NType | resolve(Scope s)
Overrides org. Python's list comprehension will erase any variable used in generators. |
| public String | |
| public void | visit(NNodeVisitor
the object to call with this node.
If the visitor returns v)true, the node also
passes its children to the visitor.Implements abstract org. Visits this node and optionally its children. |
| elt | back to summary |
|---|---|
| public NNode elt | |
| generators | back to summary |
|---|---|
| public List<NComprehension> generators | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| NGeneratorExp | back to summary |
|---|---|
| public NGeneratorExp(NNode elt, List<NComprehension> generators) | |
| NGeneratorExp | back to summary |
|---|---|
| public NGeneratorExp(NNode elt, List<NComprehension> generators, int start, int end) | |
| resolve | back to summary |
|---|---|
| public NType resolve(Scope s) throws Exception Overrides org. Python's list comprehension will erase any variable used in generators. This is wrong, but we "respect" this bug here.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| visit | back to summary |
|---|---|
| public void visit(NNodeVisitor v) Implements abstract org. Doc from org. Visits this node and optionally its children.
| |