AstForFunctionsCreator

io.joern.rubysrc2cpg.astcreation.AstForFunctionsCreator
trait AstForFunctionsCreator(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 astForMethodDeclaration(node: MethodDeclaration, isClosure: Boolean): Seq[Ast]

Creates method declaration related structures.

Creates method declaration related structures.

Value parameters

isClosure

if true, will generate a type decl, type ref, and method ref, as well as add the c modifier.

node

the node to create the AST structure from.

Attributes

Returns

a method declaration with additional refs and types if specified.

protected def astForParameter(node: RubyNode, index: Int): Ast

Concrete fields

val procParamGen: FreshNameGenerator[Left[String, Nothing]]