Top Description Methods
org.jruby.ast

public Interface DefNode

Known Direct Implementers
org.jruby.ast.IterNode, org.jruby.ast.MethodDefNode
Imports
org.jruby.parser.StaticScope

Methods and blocks both implement these.

Method Summary

Modifier and TypeMethod and Description
public ArgsNode

Returns:

Returns a Node
getArgsNode
()

Gets the argsNode.

public Node

Returns:

the contents
getBodyNode
()

Gets the body of this class.

public int

Returns:

the line (zero-offset)
getEndLine
()

Which line if the end keyword located

public StaticScope

Returns:

the scoping info
getScope
()

Get the static scoping information.

Method Detail

getArgsNodeback to summary
public ArgsNode getArgsNode()

Gets the argsNode.

Returns:ArgsNode

Returns a Node

getBodyNodeback to summary
public Node getBodyNode()

Gets the body of this class.

Returns:Node

the contents

getEndLineback to summary
public int getEndLine()

Which line if the end keyword located

Returns:int

the line (zero-offset)

getScopeback to summary
public StaticScope getScope()

Get the static scoping information.

Returns:StaticScope

the scoping info