Class VarbitConstantNode

All Implemented Interfaces:
Visitable

public final class VarbitConstantNode extends BitConstantNode
  • Field Details

  • Constructor Details

  • Method Details

    • isSameNodeKind

      boolean isSameNodeKind(ValueNode o)
      Description copied from class: ValueNode
      Some node classes represent several logical node types (to reduce footprint), which we call kinds. This means that implementations of ValueNode.isEquivalent(ValueNode) cannot always just use instanceof to check if the other node represents the same kind. Hence this method needs to be overridden by all node classes that represent several kinds. This default implementation does not look at kinds. It is only called from implementations of isEquivalent.
      Overrides:
      isSameNodeKind in class ValueNode
      Parameters:
      o - The other value node whose kind we want to compare with.
      Returns:
      true if this and o represent the same logical node type, i.e. kind.