Class LiteralExpressionModel
java.lang.Object
software.coley.sourcesolver.model.AbstractModel
software.coley.sourcesolver.model.AbstractExpressionModel
software.coley.sourcesolver.model.LiteralExpressionModel
- All Implemented Interfaces:
Model
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLiteralExpressionModel(Range range, LiteralExpressionModel.Kind kind, Object content) -
Method Summary
Methods inherited from class software.coley.sourcesolver.model.AbstractModel
getChildren, getParent, getRange, resolveAtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.coley.sourcesolver.model.Model
getChildAtPosition, getParentOfType, getRecursiveChildrenOfType, getSource, isChildOf, isParentOf, resolve, visit
-
Constructor Details
-
LiteralExpressionModel
public LiteralExpressionModel(@Nonnull Range range, @Nonnull LiteralExpressionModel.Kind kind, @Nullable Object content)
-
-
Method Details
-
getKind
-
getContent
- Returns:
LiteralTree.getValue()
-
equals
- Specified by:
equalsin classAbstractModel
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractModel
-
toString
-