Class ParamVariableDeclaration
java.lang.Object
de.fraunhofer.aisec.cpg.graph.Node
de.fraunhofer.aisec.cpg.graph.declarations.Declaration
de.fraunhofer.aisec.cpg.graph.declarations.ValueDeclaration
de.fraunhofer.aisec.cpg.graph.declarations.ParamVariableDeclaration
- All Implemented Interfaces:
HasDefault<Expression>,HasType,Persistable,IVisitable<de.fraunhofer.aisec.cpg.graph.Node>
public class ParamVariableDeclaration extends ValueDeclaration implements HasDefault<Expression>
A declaration of a function or nontype template parameter.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.fraunhofer.aisec.cpg.graph.Node
de.fraunhofer.aisec.cpg.graph.Node.CompanionNested classes/interfaces inherited from interface de.fraunhofer.aisec.cpg.graph.HasType
HasType.SecondaryTypeEdge, HasType.TypeListener -
Field Summary
Fields inherited from class de.fraunhofer.aisec.cpg.graph.declarations.ValueDeclaration
possibleSubTypes, typeFields inherited from class de.fraunhofer.aisec.cpg.graph.Node
Companion, EMPTY_NAME, TO_STRING_STYLE -
Constructor Summary
Constructors Constructor Description ParamVariableDeclaration() -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)ExpressiongetDefault()inthashCode()booleanisVariadic()voidsetDefault(Expression defaultValue)voidsetVariadic(boolean variadic)Methods inherited from class de.fraunhofer.aisec.cpg.graph.declarations.ValueDeclaration
getPossibleSubTypes, getPropagationType, getType, getTypeListeners, refreshType, registerTypeListener, resetTypes, setPossibleSubTypes, setType, toString, unregisterTypeListener, updatePossibleSubtypes, updateTypeMethods inherited from class de.fraunhofer.aisec.cpg.graph.Node
addAnnotations, addNextDFG, addNextEOG, addPrevDFG, addPrevEOG, addTypedef, clearNextEOG, disconnectFromGraph, getAnnotations, getArgumentIndex, getCode, getComment, getFile, getId, getLocation, getName, getNextDFG, getNextEOG, getNextEOGEdges, getPrevDFG, getPrevEOG, getPrevEOGEdges, getTypedefs, isImplicit, isInferred, removeNextDFG, removePrevDFG, removePrevEOGEntry, setAnnotations, setArgumentIndex, setCode, setComment, setFile, setId, setImplicit, setInferred, setLocation, setName, setNextDFG, setNextEOG, setNextEOGEdges, setPrevDFG, setPrevEOG, setPrevEOGEdges, setTypedefsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.fraunhofer.aisec.cpg.graph.HasType
setPossibleSubTypes, setTypeMethods inherited from interface de.fraunhofer.aisec.cpg.processing.IVisitable
accept
-
Constructor Details
-
ParamVariableDeclaration
public ParamVariableDeclaration()
-
-
Method Details
-
isVariadic
public boolean isVariadic() -
setVariadic
public void setVariadic(boolean variadic) -
getDefault
- Specified by:
getDefaultin interfaceHasDefault<Expression>
-
setDefault
- Specified by:
setDefaultin interfaceHasDefault<Expression>
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classValueDeclaration
-
hashCode
public int hashCode()- Overrides:
hashCodein classValueDeclaration
-