AstForExpressionsCreator

io.joern.rubysrc2cpg.astcreation.AstForExpressionsCreator
trait AstForExpressionsCreator(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 astForArrayLiteral(node: ArrayLiteral): Ast
protected def astForAssociation(node: Association): Ast
protected def astForAssociationHash(node: Association, tmp: String): List[Ast]
protected def astForBinary(node: BinaryExpression): Ast
protected def astForDynamicLiteral(node: DynamicLiteral): Ast
protected def astForExpression(node: RubyNode): Ast
protected def astForFieldAccess(node: MemberAccess): Ast
protected def astForHashLiteral(node: HashLiteral): Ast
protected def astForHereDoc(node: HereDocNode): Ast
protected def astForIfExpression(node: IfExpression): Ast
protected def astForIncludeCall(node: IncludeCall): Ast
protected def astForIndexAccess(node: IndexAccess): Ast
protected def astForMandatoryParameter(node: RubyNode): Ast
protected def astForMemberAccess(node: MemberAccess): Ast
protected def astForMemberCall(node: MemberCall): Ast
protected def astForNilBlock: Ast
protected def astForNilLiteral: Ast
protected def astForRange(node: RangeExpression): Ast
protected def astForRequireCall(node: RequireCall): Ast
protected def astForRescueExpression(node: RescueExpression): Ast
protected def astForSimpleCall(node: SimpleCall): Ast
protected def astForSimpleIdentifier(node: RubyNode & RubyIdentifier): Ast
protected def astForSingleAssignment(node: SingleAssignment): Ast
protected def astForSingleKeyValue(keyNode: RubyNode, valueNode: RubyNode, tmp: String): Ast
protected def astForSplattingRubyNode(node: SplattingRubyNode): Ast
protected def astForStaticLiteral(node: StaticLiteral): Ast
protected def astForUnary(node: UnaryExpression): Ast
protected def astForUnknown(node: RubyNode): Ast
protected def astForUnlessExpression(node: UnlessExpression): Ast
protected def astForYield(node: YieldExpr): Ast
protected def typeFromCallTarget(baseNode: RubyNode): Option[String]

Attempts to extract a type from the base of a member call.

Attempts to extract a type from the base of a member call.

Attributes

Concrete fields

val tmpGen: FreshNameGenerator[String]