Package org.jruby.ast

Interface DefNode

All Known Implementing Classes:
DefnNode, DefsNode, ForNode, IterNode, LambdaNode, MethodDefNode, PostExeNode, PreExe19Node, PreExeNode

public interface DefNode
Methods and blocks both implement these.
  • Method Details

    • getArgsNode

      ArgsNode getArgsNode()
      Gets the argsNode.
      Returns:
      Returns a Node
    • getScope

      StaticScope getScope()
      Get the static scoping information.
      Returns:
      the scoping info
    • getBodyNode

      Node getBodyNode()
      Gets the body of this class.
      Returns:
      the contents
    • getEndLine

      int getEndLine()
      Which line if the end keyword located
      Returns:
      the line (zero-offset)