AstIterExt

io.joern.rubysrc2cpg.astcreation.AstCreatorHelper.AstIterExt
implicit class AstIterExt(a: Iterable[Ast])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def partitionExprAst: (Seq[Ast], Seq[Ast])

Partitions a sequence of Ast objects into those with roots start with an expression, and those that don't.

Partitions a sequence of Ast objects into those with roots start with an expression, and those that don't.

Attributes

Returns

a tuple of sequences where the first has expression roots and the second does not.