Package org.sonar.php.tree.symbols
Class SymbolImpl
java.lang.Object
org.sonar.php.tree.symbols.SymbolImpl
- All Implemented Interfaces:
Symbol
- Direct Known Subclasses:
MemberSymbolImpl
,TypeSymbolImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sonar.plugins.php.api.symbols.Symbol
Symbol.Kind
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
assignValue
(ExpressionTree value) boolean
boolean
hasModifier
(String modifier) boolean
is
(Symbol.Kind kind) kind()
name()
scope()
toString()
usages()
-
Method Details
-
modifiers
-
hasModifier
- Specified by:
hasModifier
in interfaceSymbol
-
usages
-
scope
-
name
-
qualifiedName
- Specified by:
qualifiedName
in interfaceSymbol
- Returns:
- qualified name for class, function, method or class constant, null otherwise
-
declaration
- Specified by:
declaration
in interfaceSymbol
-
is
-
called
-
kind
-
toString
-
assignValue
-
assignUnknown
public void assignUnknown() -
uniqueAssignedValue
-