All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.ast.DefNode Maven / Gradle / Ivy

package org.jruby.ast;

import org.jruby.parser.StaticScope;

/**
 * Methods and blocks both implement these.
 */
public interface DefNode {
    /**
     * Gets the argsNode.
     * @return Returns a Node
     */
    ArgsNode getArgsNode();

    /**
     * Get the static scoping information.
     *
     * @return the scoping info
     */
    StaticScope getScope();

    /**
     * Gets the body of this class.
     *
     * @return the contents
     */
    Node getBodyNode();


    /**
     * Which line if the end keyword located
     * @return the line (zero-offset)
     */
    int getEndLine();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy