object ASTNodeCollectorVisitor extends ElementAccumulatorVisitor[HASTNode]
- Alphabetic
- By Inheritance
- ASTNodeCollectorVisitor
- ElementAccumulatorVisitor
- ArtifactVisitor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit
class
ComposableVisitor
[T <: HList] extends AnyRef
- Definition Classes
- ArtifactVisitor
-
type
ExtractorType = PartialFunction[Visitable, GenTraversableOnce[HASTNode]]
The extractor type, that is, a partial function from a visitable element and a collection of elements.
The extractor type, that is, a partial function from a visitable element and a collection of elements.
- Definition Classes
- ElementAccumulatorVisitor
-
type
Visitable = Any
- Definition Classes
- ArtifactVisitor
-
type
Visitor[Result] = (Result, Visitable) ⇒ Result
- Definition Classes
- ArtifactVisitor
-
type
VisitorChildrenExtractor = PartialFunction[Visitable, Traversable[Any]]
- Definition Classes
- ArtifactVisitor
-
type
VisitorFilter = (Visitable) ⇒ Boolean
- Definition Classes
- ArtifactVisitor
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
VNil: Visitor[HNil]
- Definition Classes
- ArtifactVisitor
-
def
apply[T <: TraversableLike[HASTNode, T]]()(implicit bf: CanBuildFrom[T, HASTNode, T]): Visitor[T]
- Definition Classes
- ElementAccumulatorVisitor
-
def
apply[T <: TraversableLike[HASTNode, T]](filter: (Visitable) ⇒ Boolean)(implicit bf: CanBuildFrom[T, HASTNode, T]): Visitor[T]
- Definition Classes
- ElementAccumulatorVisitor
-
def
apply[T](filter: VisitorFilter, visitFunction: Visitor[T]): Visitor[T]
- Definition Classes
- ArtifactVisitor
-
def
applyWithChildrenExtractor[T](childrenExtractor: VisitorChildrenExtractor, visitFunction: Visitor[T]): Visitor[T]
- Definition Classes
- ArtifactVisitor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
children(element: Any): Traversable[Any]
- Definition Classes
- ArtifactVisitor
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
elementAccumulator[T <: TraversableLike[HASTNode, T]](elements: T, element: Visitable)(implicit bf: CanBuildFrom[T, HASTNode, T]): T
- Definition Classes
- ElementAccumulatorVisitor
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
everything: (Visitable) ⇒ Boolean
- Definition Classes
- ArtifactVisitor
-
def
extractor: PartialFunction[Visitable, GenTraversableOnce[HASTNode]]
The extractor method.
The extractor method.
- Definition Classes
- ASTNodeCollectorVisitor → ElementAccumulatorVisitor
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
list(): Visitor[List[HASTNode]]
Accumulates elements as a list, using no filter.
Accumulates elements as a list, using no filter.
- Definition Classes
- ElementAccumulatorVisitor
-
def
list(filter: (Visitable) ⇒ Boolean): Visitor[List[HASTNode]]
Accumulates elements as a list, using a specific filter to determine which elements of which children must be visited.
Accumulates elements as a list, using a specific filter to determine which elements of which children must be visited.
- Definition Classes
- ElementAccumulatorVisitor
-
def
listWithChildrenExtractor(childrenExtractor: PartialFunction[Visitable, Traversable[Any]]): Visitor[List[HASTNode]]
Accumulates elements as a list, using a specific extractor to determine which elements of which children must be visited.
Accumulates elements as a list, using a specific extractor to determine which elements of which children must be visited.
- Definition Classes
- ElementAccumulatorVisitor
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
nothing: (Visitable) ⇒ Boolean
- Definition Classes
- ArtifactVisitor
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
seq(): Visitor[Seq[HASTNode]]
Accumulates elements as a sequence, using no filter.
Accumulates elements as a sequence, using no filter.
- Definition Classes
- ElementAccumulatorVisitor
-
def
seq(filter: (Visitable) ⇒ Boolean): Visitor[Seq[HASTNode]]
Accumulates elements as a sequence, using a specific filter to determine which elements of which children must be visited.
Accumulates elements as a sequence, using a specific filter to determine which elements of which children must be visited.
- Definition Classes
- ElementAccumulatorVisitor
-
def
seqWithChildrenExtractor(childrenExtractor: PartialFunction[Visitable, Traversable[Any]]): Visitor[Seq[HASTNode]]
Accumulates elements as a sequence, using a specific extractor to determine which elements of which children must be visited.
Accumulates elements as a sequence, using a specific extractor to determine which elements of which children must be visited.
- Definition Classes
- ElementAccumulatorVisitor
-
def
set(): Visitor[Set[HASTNode]]
Accumulates elements as a set, using no filter.
Accumulates elements as a set, using no filter.
- Definition Classes
- ElementAccumulatorVisitor
-
def
set(filter: (Visitable) ⇒ Boolean): Visitor[Set[HASTNode]]
Accumulates elements as a set, using a specific filter to determine which elements of which children must be visited.
Accumulates elements as a set, using a specific filter to determine which elements of which children must be visited.
- Definition Classes
- ElementAccumulatorVisitor
-
def
setWithChildrenExtractor(childrenExtractor: PartialFunction[Visitable, Traversable[Any]]): Visitor[Set[HASTNode]]
Accumulates elements as a set, using a specific extractor to determine which elements of which children must be visited.
Accumulates elements as a set, using a specific extractor to determine which elements of which children must be visited.
- Definition Classes
- ElementAccumulatorVisitor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )