Class NodeCache

java.lang.Object
org.asciidoctor.jruby.ast.impl.NodeCache

public class NodeCache extends 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 Details

    • get

      public static NodeCache get(org.jruby.runtime.builtin.IRubyObject rubyObject)
    • getASTNode

      public ContentNode getASTNode()
    • setASTNode

      public void setASTNode(ContentNode astNode)