RubyProgramSummary

io.joern.rubysrc2cpg.datastructures.RubyProgramSummary
class RubyProgramSummary(initialNamespaceMap: Map[String, Set[RubyType]], initialPathMap: Map[String, Set[RubyType]]) extends ProgramSummary[RubyType]

Attributes

Graph
Supertypes
trait ProgramSummary[RubyType]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Inherited methods

def matchingTypes(typeName: String): List[RubyType]

Value parameters

typeName

the type name or full name. Can be partially qualified.

Attributes

Returns

the set of matching types' meta data.

Inherited from:
ProgramSummary
def namespaceFor(clazz: RubyType): Option[String]

For a type, will search for the associated namespace.

For a type, will search for the associated namespace.

Attributes

Inherited from:
ProgramSummary
def typesUnderNamespace(namespace: String): Set[RubyType]

For the given namespace, returns the declared types.

For the given namespace, returns the declared types.

Attributes

Inherited from:
ProgramSummary

Concrete fields

override val namespaceToType: Map[String, Set[RubyType]]

A mapping between a namespace/directory and the containing types.

A mapping between a namespace/directory and the containing types.

Attributes

val pathToType: Map[String, Set[RubyType]]