CSharpProgramSummary

io.joern.csharpsrc2cpg.datastructures.CSharpProgramSummary
See theCSharpProgramSummary companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(namespaceToType: NamespaceToTypeMap, imports: Set[String], globalImports: Set[String]): CSharpProgramSummary
def apply(summaries: Iterable[CSharpProgramSummary]): CSharpProgramSummary

Returns the CSharpProgramSummary for the builtin types bundle.

Returns the CSharpProgramSummary for the builtin types bundle.

Attributes

def externalTypesSummary(paths: Set[String]): CSharpProgramSummary

Returns the CSharpProgramSummary for the given JSON file paths.

Returns the CSharpProgramSummary for the given JSON file paths.

Value parameters

paths

the JSON file paths to load types from

Attributes

def initialImports: Set[String]
def jsonToInitialMapping(jsonInputStream: InputStream): Try[NamespaceToTypeMap]

Converts a JSON type mapping to a NamespaceToTypeMap entry.

Converts a JSON type mapping to a NamespaceToTypeMap entry.

Value parameters

jsonInputStream

a JSON file as an input stream.

Attributes

Returns

the resulting type map in a Try