org.allenai.nlpstack.core.graph.pattern

CaptureNodeMatcher

Related Doc: package pattern

class CaptureNodeMatcher[T] extends WrappedNodeMatcher[T]

Trait that captures the contents of a node if it's matched.

Linear Supertypes
WrappedNodeMatcher[T], NodeMatcher[T], Matcher[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CaptureNodeMatcher
  2. WrappedNodeMatcher
  3. NodeMatcher
  4. Matcher
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CaptureNodeMatcher(alias: String)

    Convenience constructor that uses the TrivialNodeMatcher.

  2. new CaptureNodeMatcher(alias: String, matcher: NodeMatcher[T])

    alias

    the name of the captured node

    matcher

    the matcher to apply

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val alias: String

    the name of the captured node

  5. def apply(node: T): Option[String]

    Definition Classes
    NodeMatcher
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def baseNodeMatchers: Seq[BaseNodeMatcher[T]]

    Definition Classes
    WrappedNodeMatcherNodeMatcher
  8. def canEqual(that: Any): Boolean

    Definition Classes
    CaptureNodeMatcherWrappedNodeMatcher
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(that: Any): Boolean

    Definition Classes
    CaptureNodeMatcherWrappedNodeMatcher → AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    CaptureNodeMatcher → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def matchText(node: T): Option[String]

    Definition Classes
    CaptureNodeMatcherNodeMatcher
  17. val matcher: NodeMatcher[T]

    Definition Classes
    WrappedNodeMatcher
  18. def matches(node: T): Boolean

    Definition Classes
    NodeMatcher
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    Matcher → AnyRef → Any
  24. def toStringF(f: (String) ⇒ String): String

    Definition Classes
    CaptureNodeMatcherMatcher
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WrappedNodeMatcher[T]

Inherited from NodeMatcher[T]

Inherited from Matcher[T]

Inherited from AnyRef

Inherited from Any

Ungrouped