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 |
RubyParserResult
public RubyParserResult()
getCommentNodes
public java.util.List 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(StaticScope scope,
Node node)
addAppendBeginNodes
public void addAppendBeginNodes()
isEndSeen
public boolean isEndSeen()
setEndSeen
public void setEndSeen(boolean endSeen)
Copyright © 2002-2007 JRuby Team. All Rights Reserved.