Package it.unive.lisa.program
Interface CodeElement
-
- All Known Subinterfaces:
ProgramPoint
- All Known Implementing Classes:
AbstractClassUnit
,Assignment
,BinaryExpression
,BinaryStatement
,Call
,CallWithResult
,CFGCall
,ClassUnit
,CodeMemberDescriptor
,CodeUnit
,CompilationUnit
,ConstantGlobal
,DefaultParamInitialization
,Expression
,Global
,InterfaceUnit
,Literal
,MultiCall
,NamedParameterExpression
,NaryExpression
,NaryStatement
,NativeCall
,NoOp
,OpenCall
,Parameter
,ProgramUnit
,Ret
,Return
,Statement
,TernaryExpression
,TernaryStatement
,Throw
,TruncatedParamsCall
,UnaryExpression
,UnaryStatement
,UnresolvedCall
,VariableRef
,VariableTableEntry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CodeElement
Interface for code elements that have to provide information about the location where they appear.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodeLocation
getLocation()
Yields the location where this code element appears in the program.
-
-
-
Method Detail
-
getLocation
CodeLocation getLocation()
Yields the location where this code element appears in the program.- Returns:
- the location where this code element appears in the program
-
-