Package org.asciidoctor.jruby.ast.impl
Class NodeCache
- java.lang.Object
-
- org.asciidoctor.jruby.ast.impl.NodeCache
-
public class NodeCache extends java.lang.Object
This class helps at attaching AsciidoctorJRuby specific information to Ruby AST nodes. For example the Java counterpart of a Ruby node can be attached to the Ruby node to always return the same Java instance for the same Ruby node
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeCache
get(org.jruby.runtime.builtin.IRubyObject rubyObject)
ContentNode
getASTNode()
void
setASTNode(ContentNode astNode)
-
-
-
Method Detail
-
get
public static NodeCache get(org.jruby.runtime.builtin.IRubyObject rubyObject)
-
getASTNode
public ContentNode getASTNode()
-
setASTNode
public void setASTNode(ContentNode astNode)
-
-