RubyProgramSummary

io.joern.rubysrc2cpg.datastructures.RubyProgramSummary
See theRubyProgramSummary companion object
class RubyProgramSummary(initialNamespaceMap: NamespaceToTypeMap, initialPathMap: NamespaceToTypeMap) extends ProgramSummary[RubyType, RubyMethod, RubyField]

Attributes

Companion
object
Graph
Supertypes
trait ProgramSummary[RubyType, RubyMethod, RubyField]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Inherited methods

def absorb(o: ProgramSummary[RubyType, RubyMethod, RubyField]): ProgramSummary[RubyType, RubyMethod, RubyField]

Absorbs the given program summary information into this program summary.

Absorbs the given program summary information into this program summary.

Value parameters

o

the program summary to absorb.

Attributes

Returns

this program summary.

Inherited from:
ProgramSummary
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

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

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

Attributes