Package codeanalysis
Class VariableSymbol
java.lang.Object
codeanalysis.VariableSymbol
The VariableSymbol class represents a variable symbol.
It encapsulates name and type of variable.
- Version:
- 1.0
- Author:
- Siyabend Urun
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVariableSymbol(String name, Class<?> type) Creates a new instance of the VariableSymbol class with the specified name and type. -
Method Summary
-
Constructor Details
-
VariableSymbol
Creates a new instance of the VariableSymbol class with the specified name and type.- Parameters:
name- The name of variabletype- The type of variable
-
-
Method Details
-
getName
Retrieves the name of the variable.- Returns:
- The name of the variable.
-
getType
Retrieves the type of the variable.- Returns:
- The type of the variable.
-