io.joern.php2cpg.utils

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class BlockScope(block: NewBlock, fullName: String) extends NamedScope

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait NamedScope
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
sealed trait ClosureNameCreator

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait DeDuplicateNameCreator

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DependencyDownloader(cpg: Cpg, config: Config)

Queries Packgist for dependencies and downloads them.

Queries Packgist for dependencies and downloads them.

Attributes

Supertypes
class Object
trait Matchable
class Any

Represents scope objects that map to a method node.

Represents scope objects that map to a method node.

Attributes

Supertypes
trait NamedScope
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
Known subtypes
class MethodScope
case class MethodScope(methodNode: NewMethod, bodyNode: NewBlock, fullName: String, methodRefNode: Option[NewMethodRef], isArrowFunc: Boolean) extends MethodLikeScope

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait NamedScope
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
trait NamedScope extends TypedScopeElement

Attributes

Supertypes
trait TypedScopeElement
class Object
trait Matchable
class Any
Known subtypes
class BlockScope
class MethodScope
class TypeScope
Show all
case class NamespaceScope(namespaceBlock: NewNamespaceBlock, fullName: String) extends NamedScope, AnonymousClassNameCreator, AnonymousVariableNameCreator, ClosureNameCreator, DeDuplicateNameCreator

The namespace.

The namespace.

Value parameters

fullName

the namespace path.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait NamedScope
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
sealed case class PhpInit(originNode: PhpNode, memberNode: NewMember, value: PhpExpr)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class Scope(summary: Map[String, Seq[SymbolSummary]], closureNameFn: () => String) extends Scope[String, NewNode, TypedScopeElement]

Attributes

Supertypes
class Scope[String, NewNode, TypedScopeElement]
class Object
trait Matchable
class Any
implicit class SemverStrExt(s: String)

Parses and simplifies the version string to help prevent the flakey SemVer parser from crashing.

Parses and simplifies the version string to help prevent the flakey SemVer parser from crashing.

Attributes

Supertypes
class Object
trait Matchable
class Any

A type-like scope with a full name.

A type-like scope with a full name.

Attributes

Supertypes
trait NamedScope
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all
Known subtypes
class TypeScope
case class TypeScope(typeDecl: NewTypeDecl, fullName: String) extends TypeLikeScope

A class or interface.

A class or interface.

Value parameters

fullName

the type full name.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait NamedScope
trait TypedScopeElement
class Object
trait Matchable
class Any
Show all

Implicits

Implicits

final implicit def SemverStrExt(s: String): SemverStrExt

Parses and simplifies the version string to help prevent the flakey SemVer parser from crashing.

Parses and simplifies the version string to help prevent the flakey SemVer parser from crashing.

Attributes

implicit val packageRw: ReadWriter[PackageReleases]
implicit val semverRw: ReadWriter[SemVer]
implicit val urlRw: ReadWriter[URL]