io.joern.rubysrc2cpg.datastructures

Members list

Type members

Classlikes

case class BlockScope(block: NewBlock) extends TypedScopeElement

Represents scope objects that map to a block node.

Represents scope objects that map to a block node.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
case class ConstructorScope(fullName: String) extends MethodLikeScope

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
case class FieldDecl(name: String, typeFullName: String, isStatic: Boolean, isInitialized: Boolean, node: RubyNode & RubyFieldIdentifier) extends TypedScopeElement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
trait MethodLikeScope extends TypedScopeElement

Represents scope objects that map to a method node.

Represents scope objects that map to a method node.

Attributes

Supertypes
trait TypedScopeElement
class Object
trait Matchable
class Any
Known subtypes
case class MethodScope(fullName: String, procParam: Either[String, String], hasYield: Boolean) extends MethodLikeScope

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
case class ModuleScope(fullName: String) extends TypeLikeScope

A Ruby module/abstract class.

A Ruby module/abstract class.

Value parameters

fullName

the type full name.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
case class NamespaceScope(fullName: String) extends NamespaceLikeScope

The namespace.

The namespace.

Value parameters

fullName

the namespace path.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait NamespaceLikeScope
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
case class ProgramScope(fileName: String) extends TypeLikeScope

A file-level module.

A file-level module.

Value parameters

fileName

the relative file name.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
case class RubyField(name: String, typeName: String) extends FieldLike

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait FieldLike
trait MemberLike
class Object
trait Matchable
class Any
Show all
case class RubyMethod(name: String, parameterTypes: List[(String, String)], returnType: String, baseTypeFullName: Option[String]) extends MethodLike

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait MethodLike
trait MemberLike
class Object
trait Matchable
class Any
Show all
class RubyProgramSummary(initialNamespaceMap: Map[String, Set[RubyType]], initialPathMap: Map[String, Set[RubyType]]) extends ProgramSummary[RubyType]

Attributes

Supertypes
trait ProgramSummary[RubyType]
class Object
trait Matchable
class Any
class RubyScope(summary: RubyProgramSummary, projectRoot: Option[String]) extends Scope[String, DeclarationNew, TypedScopeElement], TypedScope[RubyMethod, RubyField, RubyType]

Attributes

Supertypes
trait TypedScope[RubyMethod, RubyField, RubyType]
class Scope[String, DeclarationNew, TypedScopeElement]
class Object
trait Matchable
class Any
case class RubyType(name: String, methods: List[RubyMethod], fields: List[RubyField]) extends TypeLike[RubyMethod, RubyField]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypeLike[RubyMethod, RubyField]
class Object
trait Matchable
class Any
Show all
trait TypeLikeScope extends TypedScopeElement

A type-like scope with a full name.

A type-like scope with a full name.

Attributes

Supertypes
trait TypedScopeElement
class Object
trait Matchable
class Any
Known subtypes
class ModuleScope
class ProgramScope
class TypeScope
case class TypeScope(fullName: String, fields: List[FieldDecl]) extends TypeLikeScope

A class or interface.

A class or interface.

Value parameters

fullName

the type full name.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all