MethodParameterTraversal

io.shiftleft.semanticcpg.language.types.structure.MethodParameterTraversal
final class MethodParameterTraversal(val traversal: Iterator[MethodParameterIn]) extends AnyVal

Formal method input parameter

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def annotation: Iterator[Annotation]

Traverse to parameter annotations

Traverse to parameter annotations

Attributes

def argument(implicit callResolver: ICallResolver): Iterator[Expression]

Traverse to arguments (actual parameters) associated with this formal parameter

Traverse to arguments (actual parameters) associated with this formal parameter

Attributes

def indexFrom(num: Int): Iterator[MethodParameterIn]

Traverse to all parameters with index greater or equal than num

Traverse to all parameters with index greater or equal than num

Attributes

def indexTo(num: Int): Iterator[MethodParameterIn]

Traverse to all parameters with index smaller or equal than num

Traverse to all parameters with index smaller or equal than num

Attributes

Concrete fields

val traversal: Iterator[MethodParameterIn]