Package org.asciidoctor.jruby.ast.impl
Class NodeCache
java.lang.Object
org.asciidoctor.jruby.ast.impl.NodeCache
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
Modifier and TypeMethodDescriptionstatic NodeCacheget(org.jruby.runtime.builtin.IRubyObject rubyObject) voidsetASTNode(ContentNode astNode)
-
Method Details
-
get
-
getASTNode
-
setASTNode
-