AstCreatorHelper

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

Attributes

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

Members list

Value members

Concrete methods

override def code(node: RubyNode): String

Attributes

Definition Classes
override def column(node: RubyNode): Option[Integer]

Attributes

Definition Classes
override def columnEnd(node: RubyNode): Option[Integer]

Attributes

Definition Classes
protected def computeClassFullName(name: String): String
protected def computeMethodFullName(name: String): String
protected def getEnclosingAstFullName: String
protected def getEnclosingAstType: String
protected def handleNewVariableOccurrence(node: RubyNode): Ast
protected def isBuiltin(x: String): Boolean
override def line(node: RubyNode): Option[Integer]

Attributes

Definition Classes
override def lineEnd(node: RubyNode): Option[Integer]

Attributes

Definition Classes
protected def pathSep: String
protected def prefixAsBuiltin(x: String): String

Concrete fields

protected val AssignmentOperatorNames: Map[String, String]
protected val BinaryOperatorNames: Map[String, String]
protected val UnaryOperatorNames: Map[String, String]
protected val methodAstParentStack: ListBuffer[NewNode]
protected val scope: Scope[String, NewNode, NewNode]
protected val shouldGenerateDefaultConstructorStack: ListBuffer[Boolean]