RubyStubbedType

io.joern.rubysrc2cpg.datastructures.RubyStubbedType
See theRubyStubbedType companion object
class RubyStubbedType(name: String, methods: List[RubyMethod], fields: List[RubyField]) extends RubyType, StubbedType[RubyMethod, RubyField]

Attributes

Companion
object
Graph
Supertypes
trait StubbedType[RubyMethod, RubyField]
class RubyType
trait Serializable
trait Product
trait Equals
trait TypeLike[RubyMethod, RubyField]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

override def +(o: TypeLike[RubyMethod, RubyField]): TypeLike[RubyMethod, RubyField]

Adds the contents of the two types and produces a new type.

Adds the contents of the two types and produces a new type.

Value parameters

o

the other type-like.

Attributes

Returns

a type-like that is the combination of the two, with precedence to colliding contents to this type (LHS).

Definition Classes
RubyType -> TypeLike
Inherited from:
RubyType
def hasConstructor: Boolean

Attributes

Inherited from:
RubyType
protected def mergeFields(o: TypeLike[_, RubyField]): List[RubyField]

Helper method for creating the sum of two type-like's fields, while preferring this types' fields on collisions.

Helper method for creating the sum of two type-like's fields, while preferring this types' fields on collisions.

Value parameters

o

the other type-like.

Attributes

Returns

the combination of the two type-like's fields.

Inherited from:
TypeLike
protected def mergeMethods(o: TypeLike[RubyMethod, _]): List[RubyMethod]

Helper method for creating the sum of two type-like's methods, while preferring this types' methods on collisions.

Helper method for creating the sum of two type-like's methods, while preferring this types' methods on collisions.

Value parameters

o

the other type-like.

Attributes

Returns

the combination of the two type-like's methods.

Inherited from:
TypeLike
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product