org.jruby.ast
Class CommentNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.CommentNode
- All Implemented Interfaces:
- ISourcePositionHolder
public class CommentNode
- extends Node
Representation of a comment. Note that comments are not part of evaluation so you do
not get the ability to visit this node as part of evaluation. In theory we could add
this if we envisioned some wacky annotation system, but we have no crazy ideas yet.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CommentNode
public CommentNode(ISourcePosition position,
java.lang.String content)
accept
public Instruction accept(NodeVisitor visitor)
- Specified by:
accept
in class Node
getContent
public java.lang.String getContent()
childNodes
public java.util.List<Node> childNodes()
- Specified by:
childNodes
in class Node
Copyright © 2002-2007 JRuby Team. All Rights Reserved.