Class TRegexExecutorBaseNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.regex.tregex.nodes.TRegexExecutorBaseNode
All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Direct Known Subclasses:
TRegexExecutorNode

public abstract class TRegexExecutorBaseNode extends com.oracle.truffle.api.nodes.Node implements com.oracle.truffle.api.instrumentation.InstrumentableNode
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node

    com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children

    Nested classes/interfaces inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode

    com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createLocals(com.oracle.truffle.api.strings.TruffleString input, int fromIndex, int maxIndex, int regionFrom, int regionTo, int index)
     
    final com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode
    createWrapper(com.oracle.truffle.api.instrumentation.ProbeNode probeNode)
     
    abstract Object
    execute(com.oracle.truffle.api.frame.VirtualFrame frame, TRegexExecutorLocals locals, com.oracle.truffle.api.strings.TruffleString.CodeRange codeRange)
     
     
    abstract String
     
    abstract int
     
    abstract int
     
    abstract RegexSource
     
    final boolean
     
    abstract boolean
     
    final boolean
     
    abstract boolean
     
    boolean
     
    final boolean
     
    final boolean
     
    final boolean
     
     
     
    abstract boolean
    Returns true if this executor may write any new capture group boundaries.

    Methods inherited from class com.oracle.truffle.api.nodes.Node

    accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode

    findNearestNodeAt, findNearestNodeAt, getNodeObject, hasTag, materializeInstrumentableNodes
  • Constructor Details

    • TRegexExecutorBaseNode

      public TRegexExecutorBaseNode()
  • Method Details

    • execute

      public abstract Object execute(com.oracle.truffle.api.frame.VirtualFrame frame, TRegexExecutorLocals locals, com.oracle.truffle.api.strings.TruffleString.CodeRange codeRange)
    • isInstrumentable

      public final boolean isInstrumentable()
      Specified by:
      isInstrumentable in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
    • createWrapper

      public final com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode createWrapper(com.oracle.truffle.api.instrumentation.ProbeNode probeNode)
      Specified by:
      createWrapper in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
    • unwrap

      public final TRegexExecutorNode unwrap()
    • shallowCopy

      public abstract TRegexExecutorNode shallowCopy()
    • getSource

      public abstract RegexSource getSource()
    • getEncoding

      public final Encodings.Encoding getEncoding()
    • isUTF8

      public final boolean isUTF8()
    • isUTF16

      public final boolean isUTF16()
    • isUTF32

      public final boolean isUTF32()
    • isBooleanMatch

      public final boolean isBooleanMatch()
    • getNumberOfStates

      public abstract int getNumberOfStates()
    • getNumberOfTransitions

      public abstract int getNumberOfTransitions()
    • getName

      public abstract String getName()
    • isForward

      public abstract boolean isForward()
    • isTrivial

      public boolean isTrivial()
    • isSimpleCG

      public abstract boolean isSimpleCG()
    • writesCaptureGroups

      public abstract boolean writesCaptureGroups()
      Returns true if this executor may write any new capture group boundaries.
    • createLocals

      public abstract TRegexExecutorLocals createLocals(com.oracle.truffle.api.strings.TruffleString input, int fromIndex, int maxIndex, int regionFrom, int regionTo, int index)