org.allenai.nlpstack.core.graph.pattern

CaptureNodeMatcher

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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. val alias: String

    the name of the captured node

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

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

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

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

    Definition Classes
    CaptureNodeMatcherWrappedNodeMatcher
  11. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    CaptureNodeMatcherNodeMatcher
  19. def matches(node: T): Boolean

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

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

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

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

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. 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