io.shiftleft.queryprimitives.steps.types.expressions.generalizations
Declaration
Companion object Declaration
class Declaration[Labels <: HList] extends CpgSteps[codepropertygraph.generated.nodes.Declaration, Labels] with DeclarationBase[codepropertygraph.generated.nodes.Declaration, Labels]
- Alphabetic
- By Inheritance
- Declaration
- DeclarationBase
- CpgSteps
- NodeSteps
- Steps
- StepsRoot
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Declaration(raw: GremlinScala[Vertex])
Type Members
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
-
def
_toJson(pretty: Boolean): String
- Attributes
- protected
- Definition Classes
- CpgSteps
-
def
aggregate(into: Buffer[codepropertygraph.generated.nodes.Declaration]): NodeSteps[codepropertygraph.generated.nodes.Declaration, Labels]
- Definition Classes
- NodeSteps
-
def
and(andTraversals: (Steps[codepropertygraph.generated.nodes.Declaration, Vertex, HNil]) ⇒ Steps[_, _, _]*): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
def
as[NewLabels <: HList](stepLabel: StepLabel[codepropertygraph.generated.nodes.Declaration])(implicit prependDomain: shapeless.ops.hlist.Prepend.Aux[Labels, ::[codepropertygraph.generated.nodes.Declaration, HNil], NewLabels]): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, NewLabels]
- Definition Classes
- Steps
-
def
as[NewLabels <: HList](stepLabel: String)(implicit prependDomain: shapeless.ops.hlist.Prepend.Aux[Labels, ::[codepropertygraph.generated.nodes.Declaration, HNil], NewLabels]): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, NewLabels]
- Definition Classes
- Steps
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps → AnyRef
-
implicit
val
converter: Aux[codepropertygraph.generated.nodes.Declaration, Vertex]
- Definition Classes
- Steps
-
def
count(): Long
- Definition Classes
- Steps
-
def
dedup(): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
def
emit(emitTraversal: (Steps[codepropertygraph.generated.nodes.Declaration, Vertex, HNil]) ⇒ Steps[_, _, _]): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
def
emit(): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exec(): Unit
- Definition Classes
- Steps
-
def
file: File[Labels]
Traverse to source file
Traverse to source file
- Definition Classes
- CpgSteps
-
def
filter(predicate: (Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]) ⇒ Steps[_, _, _]): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
def
filterNot(predicate: (Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]) ⇒ Steps[_, _, _]): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
def
filterOnEnd(predicate: (codepropertygraph.generated.nodes.Declaration) ⇒ Boolean): NodeSteps[codepropertygraph.generated.nodes.Declaration, Labels]
- Definition Classes
- NodeSteps
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[NewSteps <: StepsRoot](fun: (codepropertygraph.generated.nodes.Declaration) ⇒ NewSteps)(implicit constr: Aux[gremlin.scala.dsl.Steps.flatMap.NewSteps.EndDomain0, Labels, gremlin.scala.dsl.Steps.flatMap.NewSteps.EndGraph0, NewSteps], newConverter: Converter[gremlin.scala.dsl.Steps.flatMap.NewSteps.EndDomain0]): NewSteps
- Definition Classes
- Steps
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit
val
graph: Graph
- Definition Classes
- CpgSteps
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
head(): codepropertygraph.generated.nodes.Declaration
- Definition Classes
- Steps
-
def
headOption(): Option[codepropertygraph.generated.nodes.Declaration]
- Definition Classes
- Steps
-
def
id(ids: AnyRef*): NodeSteps[codepropertygraph.generated.nodes.Declaration, Labels]
- Definition Classes
- NodeSteps
-
def
isDefined: Boolean
- Definition Classes
- Steps
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterate(): Unit
- Definition Classes
- Steps
-
def
l: List[codepropertygraph.generated.nodes.Declaration]
- Definition Classes
- Steps
-
def
map[NewEndDomain, NewEndGraph, NewSteps <: StepsRoot](fun: (codepropertygraph.generated.nodes.Declaration) ⇒ NewEndDomain)(implicit newConverter: Aux[NewEndDomain, NewEndGraph], constr: Aux[NewEndDomain, Labels, NewEndGraph, NewSteps]): NewSteps
- Definition Classes
- Steps
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
onRaw(fun: (GremlinScala[Vertex]) ⇒ GremlinScala[Vertex]): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
def
or(orTraversals: (Steps[codepropertygraph.generated.nodes.Declaration, Vertex, HNil]) ⇒ Steps[_, _, _]*): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
def
orderBy[A](fun: (codepropertygraph.generated.nodes.Declaration) ⇒ A): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
def
p(): Unit
- Definition Classes
- Steps
-
val
raw: GremlinScala[Vertex]
- Definition Classes
- CpgSteps → NodeSteps → Steps → StepsRoot
-
def
repeat[NewEndDomain >: codepropertygraph.generated.nodes.Declaration](repeatTraversal: (Steps[codepropertygraph.generated.nodes.Declaration, Vertex, HNil]) ⇒ Steps[NewEndDomain, Vertex, _])(implicit newConverter: Aux[NewEndDomain, Vertex]): Steps[NewEndDomain, Vertex, Labels]
- Definition Classes
- Steps
-
def
s(): Stream[codepropertygraph.generated.nodes.Declaration]
- Definition Classes
- Steps
-
def
select[StepLabelsTuple <: Product, StepLabels <: HList, H0, T0 <: HList, SelectedTypes <: HList, SelectedTypesTuple <: Product, SelectedGraphTypesTuple <: Product, LabelNames <: HList, Z](stepLabelsTuple: StepLabelsTuple)(implicit toHList: Aux[StepLabelsTuple, StepLabels], hasOne: Aux[StepLabels, H0, T0], hasTwo: IsHCons[T0], extractLabelType: Aux[StepLabels, SelectedTypes], tupler: shapeless.ops.hlist.Tupler.Aux[SelectedTypes, SelectedTypesTuple], conv: Aux[SelectedTypesTuple, SelectedGraphTypesTuple], stepLabelToString: Aux[GetLabelName.type, StepLabels, LabelNames], trav: Aux[LabelNames, List, String], folder: Aux[StepLabels, (HNil, Map[String, Any]), combineLabelWithValue.type, (SelectedTypes, Z)]): Steps[SelectedTypesTuple, SelectedGraphTypesTuple, Labels]
- Definition Classes
- Steps
-
def
select[Label, LabelGraph](label: StepLabel[Label])(implicit conv1: Aux[Label, LabelGraph]): Steps[Label, LabelGraph, Labels]
- Definition Classes
- Steps
-
def
select[LabelsGraph <: HList, LabelsGraphTuple, LabelsTuple]()(implicit conv1: Aux[Labels, LabelsGraph], tupler1: shapeless.ops.hlist.Tupler.Aux[LabelsGraph, LabelsGraphTuple], tupler2: shapeless.ops.hlist.Tupler.Aux[Labels, LabelsTuple], conv2: Aux[LabelsTuple, LabelsGraphTuple]): Steps[LabelsTuple, LabelsGraphTuple, Labels]
- Definition Classes
- Steps
-
def
sideEffect(fun: (codepropertygraph.generated.nodes.Declaration) ⇒ Any): NodeSteps[codepropertygraph.generated.nodes.Declaration, Labels]
- Definition Classes
- NodeSteps
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
times(maxLoops: Int): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
def
toBuffer(): Buffer[codepropertygraph.generated.nodes.Declaration]
- Definition Classes
- Steps
-
def
toJson: String
Execute traversal and convert the result to json.
Execute traversal and convert the result to json.
- Definition Classes
- CpgSteps
-
def
toJsonPretty: String
- Definition Classes
- CpgSteps
-
def
toList(): List[codepropertygraph.generated.nodes.Declaration]
- Definition Classes
- Steps
-
def
toMaps(): Steps[Map[String, AnyRef], Map[String, AnyRef], Labels]
- Definition Classes
- CpgSteps
-
def
toSet(): Set[codepropertygraph.generated.nodes.Declaration]
- Definition Classes
- Steps
-
def
toStream(): Stream[codepropertygraph.generated.nodes.Declaration]
- Definition Classes
- Steps
-
def
toString(): String
- Definition Classes
- Steps → AnyRef → Any
-
def
until(untilTraversal: (Steps[codepropertygraph.generated.nodes.Declaration, Vertex, HNil]) ⇒ Steps[_, _, _]): Steps[codepropertygraph.generated.nodes.Declaration, Vertex, Labels]
- Definition Classes
- Steps
-
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
- @native() @throws( ... )
-
def
walkIn(edgeType: String): GremlinScala[Vertex]
- Definition Classes
- NodeSteps