Package org.jruby.ast

Class DXStrNode

All Implemented Interfaces:
Iterable<Node>, ILiteralNode

public class DXStrNode extends DNode implements ILiteralNode
Dynamic backquote string. Backquote strings are eXecuted using the shell, hence the X or maybe the X is due to the %x general quote syntax?
  • Constructor Details

    • DXStrNode

      public DXStrNode(int line, DStrNode node)
    • DXStrNode

      public DXStrNode(int line, org.jcodings.Encoding encoding)
    • DXStrNode

      public DXStrNode(int line)
  • Method Details

    • getNodeType

      public NodeType getNodeType()
      Overrides:
      getNodeType in class ListNode
      Returns:
      the nodeId
    • accept

      public <T> T accept(NodeVisitor<T> iVisitor)
      Accept for the visitor pattern.
      Overrides:
      accept in class ListNode
      Parameters:
      iVisitor - the visitor