Package-level declarations

Types

Link copied to clipboard
Node representing a declaration of a ClassTemplate
Link copied to clipboard

The declaration of a constructor within a RecordDeclaration. Is it essentially a special case of a MethodDeclaration.

Link copied to clipboard
abstract class Declaration : Node

Represents a single declaration or definition, i.e. of a variable (VariableDeclaration) or function (FunctionDeclaration).

Link copied to clipboard

This represents a sequence of one or more declaration(s). The purpose of this node is primarily to bridge between a single declaration and a list of declarations in the front-end handlers. It will be converted into a list-structure and all its children will be added to the parent, i.e. the translation unit. It should NOT end up in the final graph.

Link copied to clipboard

Represents a constant within an EnumDeclaration. Depending on the language, this might have an explicit initializer value.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Represents the declaration or definition of a function.

Link copied to clipboard
Node representing a declaration of a FunctionTemplate
Link copied to clipboard
Link copied to clipboard

A method declaration is a FunctionDeclaration that is part of to a specific RecordDeclaration .

Link copied to clipboard
Declares the scope of a namespace and appends its own name to the current namespace-prefix to form a new namespace prefix.
Link copied to clipboard
A declaration of a function or nontype template parameter.
Link copied to clipboard
class ProblemDeclaration(var problem: String = "", var type: ProblemNode.ProblemType = ProblemNode.ProblemType.TRANSLATION) : ValueDeclaration, ProblemNode

A node where the statement could not be translated by the graph. We use ProblemExpressions whenever the CPG library requires an Declaration.

Link copied to clipboard
Represents a C++ union/struct/class or Java class
Link copied to clipboard
Abstract class representing the template concept
Link copied to clipboard
The top most declaration, representing a translation unit, for example a file.
Link copied to clipboard
Represents a type alias definition as found in C/C++: typedef unsigned long ulong;
Link copied to clipboard
A declaration of a type template parameter
Link copied to clipboard
Link copied to clipboard
A declaration who has a type.
Link copied to clipboard