AstForFunctionsCreator
io.joern.rubysrc2cpg.astcreation.AstForFunctionsCreator
trait AstForFunctionsCreator(packageContext: PackageContext)(implicit withSchemaValidation: ValidationMode)
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AstCreator
- Self type
Members list
Value members
Concrete methods
protected def astForBlockFunction(ctxStmt: StatementsContext, ctxParam: Option[BlockParameterContext], blockMethodName: String, lineStart: Int, lineEnd: Int, colStart: Int, colEnd: Int): Seq[Ast]
Creates a method, methodRef, and type decl binding for this block method.
Creates a method, methodRef, and type decl binding for this block method.
Attributes
protected def methodRefAssignmentFromMethod(method: NewMethod, lineNum: Option[Integer], colNum: Option[Integer]): Ast
Creates a method ref node assigned to an identifier of the same name from a method and adds the identifier to the scope.
Creates a method ref node assigned to an identifier of the same name from a method and adds the identifier to the scope.
Attributes
Attributes
- Returns
-
the method name if found as an alias, or the given name if not found.
protected def typeDeclFromMethod(method: NewMethod, lineNum: Option[Integer], colNum: Option[Integer]): NewTypeDecl
Concrete fields
In this article