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 Serializabletrait Producttrait Equalstrait TypedScopeElementclass Objecttrait Matchableclass AnyShow all
case class ConstructorScope(fullName: String) extends MethodLikeScope
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MethodLikeScopetrait TypedScopeElementclass Objecttrait Matchableclass AnyShow all
case class FieldDecl(name: String, typeFullName: String, isStatic: Boolean, isInitialized: Boolean, node: RubyNode & RubyFieldIdentifier) extends TypedScopeElement
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypedScopeElementclass Objecttrait Matchableclass AnyShow 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 TypedScopeElementclass Objecttrait Matchableclass Any
- Known subtypes
-
class ConstructorScopeclass MethodScope
case class MethodScope(fullName: String, procParam: Either[String, String], hasYield: Boolean) extends MethodLikeScope
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MethodLikeScopetrait TypedScopeElementclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait TypeLikeScopetrait TypedScopeElementclass Objecttrait Matchableclass AnyShow all
case class NamespaceScope(fullName: String) extends NamespaceLikeScope
The namespace.
The namespace.
Value parameters
- fullName
-
the namespace path.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait NamespaceLikeScopetrait TypedScopeElementclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait TypeLikeScopetrait TypedScopeElementclass Objecttrait Matchableclass AnyShow all
case class RubyField(name: String, typeName: String) extends FieldLike
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FieldLiketrait MemberLikeclass Objecttrait Matchableclass AnyShow all
case class RubyMethod(name: String, parameterTypes: List[(String, String)], returnType: String, baseTypeFullName: Option[String]) extends MethodLike
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MethodLiketrait MemberLikeclass Objecttrait Matchableclass AnyShow all
class RubyProgramSummary(initialNamespaceMap: Map[String, Set[RubyType]], initialPathMap: Map[String, Set[RubyType]]) extends ProgramSummary[RubyType]
Attributes
- Supertypes
class RubyScope(summary: RubyProgramSummary, projectRoot: Option[String]) extends Scope[String, DeclarationNew, TypedScopeElement], TypedScope[RubyMethod, RubyField, RubyType]
Attributes
- Supertypes
-
class Scope[String, DeclarationNew, TypedScopeElement]class Objecttrait Matchableclass Any
case class RubyType(name: String, methods: List[RubyMethod], fields: List[RubyField]) extends TypeLike[RubyMethod, RubyField]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
trait TypeLikeScope extends TypedScopeElement
A type-like scope with a full name.
A type-like scope with a full name.
Attributes
- Supertypes
-
trait TypedScopeElementclass Objecttrait Matchableclass Any
- Known subtypes
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 Serializabletrait Producttrait Equalstrait TypeLikeScopetrait TypedScopeElementclass Objecttrait Matchableclass AnyShow all
In this article