Package org.xcsp.parser.entries
Class ParsingEntry.VEntry
- java.lang.Object
-
- org.xcsp.parser.entries.ParsingEntry
-
- org.xcsp.parser.entries.ParsingEntry.VEntry
-
- Direct Known Subclasses:
XVariables.XArray
,XVariables.XVar
- Enclosing class:
- ParsingEntry
public abstract static class ParsingEntry.VEntry extends ParsingEntry
The root class used for Var and Array objects.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.xcsp.parser.entries.ParsingEntry
ParsingEntry.CEntry, ParsingEntry.OEntry, ParsingEntry.VEntry
-
-
Field Summary
Fields Modifier and Type Field Description Types.TypeVar
type
The type of the entry.-
Fields inherited from class org.xcsp.parser.entries.ParsingEntry
attributes, classes, flags, id, note
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VEntry(String id, Types.TypeVar type)
Builds an entry with the specified id and type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Types.TypeVar
getType()
Returns the type of the entry.String
toString()
-
Methods inherited from class org.xcsp.parser.entries.ParsingEntry
copyAttributesOf, getAttributeValue, getAttributeValue, getAttributeValue
-
-
-
-
Field Detail
-
type
public final Types.TypeVar type
The type of the entry.
-
-
Constructor Detail
-
VEntry
protected VEntry(String id, Types.TypeVar type)
Builds an entry with the specified id and type.
-
-
Method Detail
-
getType
public final Types.TypeVar getType()
Returns the type of the entry. We need an accessor for Scala.
-
-