io.shiftleft.codepropertygraph.generated.neighboraccessors.AnnotationParameter.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codepropertygraph-domain-classes_3 Show documentation
Show all versions of codepropertygraph-domain-classes_3 Show documentation
codepropertygraph-domain-classes
package io.shiftleft.codepropertygraph.generated.neighboraccessors
import io.shiftleft.codepropertygraph.generated.nodes
import io.shiftleft.codepropertygraph.generated.language.*
final class AccessNeighborsForAnnotationParameter(val node: nodes.AnnotationParameter) extends AnyVal {
/** Traverse to ANNOTATION_PARAMETER_ASSIGN via AST IN edge.
*/
def _annotationParameterAssignViaAstIn: Iterator[nodes.AnnotationParameterAssign] =
astIn.collectAll[nodes.AnnotationParameterAssign]
def astIn: Iterator[nodes.AnnotationParameterAssign] = node._astIn.cast[nodes.AnnotationParameterAssign]
}
final class AccessNeighborsForAnnotationParameterTraversal(val traversal: Iterator[nodes.AnnotationParameter])
extends AnyVal {
/** Traverse to ANNOTATION_PARAMETER_ASSIGN via AST IN edge.
*/
def _annotationParameterAssignViaAstIn: Iterator[nodes.AnnotationParameterAssign] =
traversal.flatMap(_._annotationParameterAssignViaAstIn)
def astIn: Iterator[nodes.AnnotationParameterAssign] = traversal.flatMap(_.astIn)
}