public class RubyParserResult extends Object
Modifier and Type | Field and Description |
---|---|
static List<Node> |
EMPTY_BEGIN_LIST |
Constructor and Description |
---|
RubyParserResult() |
Modifier and Type | Method and Description |
---|---|
void |
addBeginNode(PreExeNode node) |
Node |
getAST() |
List<Node> |
getBeginNodes() |
int |
getEndOffset() |
DynamicScope |
getScope() |
void |
setAST(Node ast)
Sets the ast.
|
void |
setEndOffset(int endOffset) |
void |
setScope(DynamicScope scope) |
public Node getAST()
public DynamicScope getScope()
public void setScope(DynamicScope scope)
public void setAST(Node ast)
ast
- The ast to setpublic void addBeginNode(PreExeNode node)
public int getEndOffset()
public void setEndOffset(int endOffset)
Copyright © 2001-2013 JRuby. All Rights Reserved.