Package it.unive.lisa.program
Interface CodeElement
-
- All Known Subinterfaces:
ProgramPoint
- All Known Implementing Classes:
AccessGlobal,AccessInstanceGlobal,Assignment,BinaryExpression,BinaryNativeCall,Call,CFGCall,CFGDescriptor,CompilationUnit,Expression,Global,HybridCall,Literal,NativeCall,NoOp,NullLiteral,OpenCall,Parameter,Ret,Return,Statement,TernaryNativeCall,Throw,UnaryNativeCall,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 CodeElementInterface 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 CodeLocationgetLocation()Yields the location where this code element appears in the source file.
-
-
-
Method Detail
-
getLocation
CodeLocation getLocation()
Yields the location where this code element appears in the source file.- Returns:
- the location where this code element apperars in the source file
-
-