org.jruby.parser
Class RubyParserResult
java.lang.Object
org.jruby.parser.RubyParserResult
public class RubyParserResult
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_BEGIN_LIST
public static final java.util.List<Node> EMPTY_BEGIN_LIST
EMPTY_COMMENT_LIST
public static final java.util.List<CommentNode> EMPTY_COMMENT_LIST
RubyParserResult
public RubyParserResult()
getCommentNodes
public java.util.List<CommentNode> getCommentNodes()
getAST
public Node getAST()
getScope
public DynamicScope getScope()
setScope
public void setScope(DynamicScope scope)
setAST
public void setAST(Node ast)
- Sets the ast.
- Parameters:
ast
- The ast to set
addComment
public void addComment(CommentNode node)
addBeginNode
public void addBeginNode(PreExeNode node)
getBeginNodes
public java.util.List<Node> getBeginNodes()
getEndOffset
public int getEndOffset()
setEndOffset
public void setEndOffset(int endOffset)
Copyright © 2002-2007 JRuby Team. All Rights Reserved.