AstForStatementsCreator

io.joern.rubysrc2cpg.astcreation.AstForStatementsCreator
trait AstForStatementsCreator(implicit withSchemaValidation: ValidationMode)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AstCreator
Self type

Members list

Value members

Concrete methods

protected def astForDoBlock(block: Block & RubyNode): Seq[Ast]
protected def astForReturnStatement(node: ReturnExpression): Ast
protected def astForStatementList(node: StatementList): Ast
protected def astsForCallWithBlock[C <: RubyCall](node: RubyNode & RubyCallWithBlock[C]): Seq[Ast]
protected def astsForCaseExpression(node: CaseExpression): Seq[Ast]
protected def astsForStatement(node: RubyNode): Seq[Ast]
protected def foldIfExpression(builder: (IfExpression, Ast, Ast, List[Ast]) => Ast)(node: IfExpression): Ast

Value parameters

node

- Control Flow Expression RubyNode

transform

- RubyNode => RubyNode function for transformation on the clauses of the ControlFlowExpression

Attributes

Returns

RubyNode with transform function applied