Skip to content

Commit

Permalink
[noci] Kill all the tabs in this file???
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Aug 8, 2016
1 parent 1112205 commit 85d6f0d
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions core/src/main/java/org/jruby/ast/MethodDefNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
import org.jruby.parser.StaticScope;

public abstract class MethodDefNode extends Node implements INameNode, DefNode {
protected final String name;
protected final ArgsNode argsNode;
protected final StaticScope scope;
protected final Node bodyNode;
protected final int endLine;
protected final String name;
protected final ArgsNode argsNode;
protected final StaticScope scope;
protected final Node bodyNode;
protected final int endLine;

public MethodDefNode(ISourcePosition position, String name, ArgsNode argsNode,
StaticScope scope, Node bodyNode, int endLine) {
public MethodDefNode(ISourcePosition position, String name, ArgsNode argsNode,
StaticScope scope, Node bodyNode, int endLine) {
super(position, bodyNode.containsVariableAssignment());

assert bodyNode != null : "bodyNode must not be null";
Expand All @@ -52,49 +52,49 @@ public MethodDefNode(ISourcePosition position, String name, ArgsNode argsNode,
this.argsNode = argsNode;
this.scope = scope;
this.bodyNode = bodyNode;
this.endLine = endLine;
}
this.endLine = endLine;
}


/**
* Gets the argsNode.
* @return Returns a Node
*/
public ArgsNode getArgsNode() {
return argsNode;
}
/**
* Gets the argsNode.
* @return Returns a Node
*/
public ArgsNode getArgsNode() {
return argsNode;
}

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

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

/**
* Gets the name.
* @return Returns a String
*/
public String getName() {
return name;
}
/**
* Gets the name.
* @return Returns a String
*/
public String getName() {
return name;
}

/**
* Which line is the 'end' encountered on. Useful for RETURN event generation.
* @return the zero-based line number
/**
* Which line is the 'end' encountered on. Useful for RETURN event generation.
* @return the zero-based line number
*/
public int getEndLine() {
return endLine;
}
}
public int getEndLine() {
return endLine;
}
}

0 comments on commit 85d6f0d

Please sign in to comment.