| Modifier and Type | Field and Description |
|---|---|
| protected final ArgsNode | |
| protected final Node | |
| protected boolean | |
| protected final int | |
| protected final RubySymbol | |
| protected final StaticScope |
| Access | Constructor and Description |
|---|---|
| public | MethodDefNode(int line, RubySymbol name, ArgsNode argsNode, StaticScope scope, Node bodyNode, int endLine)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public ArgsNode | Returns: Returns a NodeImplements org. Gets the argsNode. |
| public Node | Returns: the contentsImplements org. Gets the body of this class. |
| public int | Returns: the zero-based line numberImplements org. Which line is the 'end' encountered on. |
| public RubySymbol | |
| public StaticScope | Returns: the scoping infoImplements org. Get the static scoping information. |
| public void |
| argsNode | back to summary |
|---|---|
| protected final ArgsNode argsNode | |
| bodyNode | back to summary |
|---|---|
| protected final Node bodyNode | |
| containsNextBreak | back to summary |
|---|---|
| protected boolean containsNextBreak | |
| endLine | back to summary |
|---|---|
| protected final int endLine | |
| name | back to summary |
|---|---|
| protected final RubySymbol name | |
| scope | back to summary |
|---|---|
| protected final StaticScope scope | |
| MethodDefNode | back to summary |
|---|---|
| public MethodDefNode(int line, RubySymbol name, ArgsNode argsNode, StaticScope scope, Node bodyNode, int endLine) | |
| containsBreakNext | back to summary |
|---|---|
| public boolean containsBreakNext() | |
| getArgsNode | back to summary |
|---|---|
| public ArgsNode getArgsNode() Implements org. Gets the argsNode.
| |
| getBodyNode | back to summary |
|---|---|
| public Node getBodyNode() Implements org. Gets the body of this class.
| |
| getEndLine | back to summary |
|---|---|
| public int getEndLine() Implements org. Which line is the 'end' encountered on. Useful for RETURN event generation.
| |
| getName | back to summary |
|---|---|
| public RubySymbol getName() Implements org. Gets the name.
| |
| getScope | back to summary |
|---|---|
| public StaticScope getScope() Implements org. Get the static scoping information.
| |
| setContainsNextBreak | back to summary |
|---|---|
| public void setContainsNextBreak() | |