class SpinalEnumElement[T <: SpinalEnum] extends Nameable with SpinalTagReady
Definition of an element of the enumeration
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SpinalEnumElement
- SpinalTagReady
- Nameable
- ContextUser
- ScalaLocated
- GlobalDataUser
- OwnableRef
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
SpinalEnumElement(spinalEnum: T, position: Int)
- spinalEnum
parent of the element (SpinalEnum)
- position
position of the element
Type Members
-
abstract
type
RefOwnerType
- Definition Classes
- OwnableRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def =/=(that: SpinalEnumCraft[T]): Bool
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ===(that: SpinalEnumCraft[T]): Bool
-
val
_spinalTags: LinkedHashSet[SpinalTag]
- Definition Classes
- SpinalTagReady
-
def
addAttribute(name: String, value: Int): SpinalEnumElement.this.type
- Definition Classes
- SpinalTagReady
-
def
addAttribute(name: String, value: String): SpinalEnumElement.this.type
- Definition Classes
- SpinalTagReady
-
def
addAttribute(name: String): SpinalEnumElement.this.type
- Definition Classes
- SpinalTagReady
-
def
addAttribute(attribute: Attribute): SpinalEnumElement.this.type
- Definition Classes
- SpinalTagReady
-
def
addTag[T <: SpinalTag](spinalTag: T): SpinalEnumElement.this.type
- Definition Classes
- SpinalTagReady
-
def
addTags(h: SpinalTag, tail: SpinalTag*): SpinalEnumElement.this.type
- Definition Classes
- SpinalTagReady
-
def
addTags[T <: SpinalTag](tags: Iterable[T]): SpinalEnumElement.this.type
- Definition Classes
- SpinalTagReady
- def apply(encoding: SpinalEnumEncoding): SpinalEnumCraft[T]
- def apply(): SpinalEnumCraft[T]
- def asBits: Bits
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
component: Component
- Definition Classes
- ContextUser
- def craft(encoding: SpinalEnumEncoding): SpinalEnumCraft[T]
- def craft(): SpinalEnumCraft[T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
- Definition Classes
- SpinalTagReady
-
def
filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
- Definition Classes
- SpinalTagReady
-
def
findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
- Definition Classes
- SpinalTagReady
-
def
foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
- Definition Classes
- Nameable
-
def
foreachTag(body: (SpinalTag) ⇒ Unit): Unit
- Definition Classes
- SpinalTagReady
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getDisplayName(): String
- Definition Classes
- Nameable
-
def
getInstanceCounter: Int
- Definition Classes
- ContextUser
-
def
getMode: Byte
- Attributes
- protected
- Definition Classes
- Nameable
-
def
getName(default: String): String
- Definition Classes
- Nameable
-
def
getName(): String
- Definition Classes
- Nameable
-
def
getPartialName(): String
- Definition Classes
- Nameable
-
def
getRefOwnersChain(): List[Any]
- Definition Classes
- OwnableRef
-
def
getScalaLocationLong: String
- Definition Classes
- ScalaLocated
-
def
getScalaLocationShort: String
- Definition Classes
- ScalaLocated
-
def
getScalaTrace(): Throwable
- Definition Classes
- ScalaLocated
- def getSignature(): Any
-
def
getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
- Definition Classes
- SpinalTagReady
-
def
getTags(): LinkedHashSet[SpinalTag]
- Definition Classes
- SpinalTagReady
-
val
globalData: GlobalData
- Definition Classes
- GlobalDataUser
-
def
hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
- Definition Classes
- SpinalTagReady
-
def
hasTag(spinalTag: SpinalTag): Boolean
- Definition Classes
- SpinalTagReady
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
instanceAttributes(language: Language): Iterable[Attribute]
- Definition Classes
- SpinalTagReady
-
def
instanceAttributes: Iterable[Attribute]
- Definition Classes
- SpinalTagReady
-
def
isCompletelyUnnamed: Boolean
- Definition Classes
- Nameable
-
def
isEmptyOfTag: Boolean
- Definition Classes
- SpinalTagReady
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isNamed: Boolean
- Definition Classes
- Nameable
-
def
isPriorityApplicable(namePriority: Byte): Boolean
- Definition Classes
- Nameable
-
def
isUnnamed: Boolean
- Definition Classes
- Nameable
-
val
name: String
- Definition Classes
- Nameable
- val nameableRef: Nameable
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def next: SpinalEnumElement[T]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
- Definition Classes
- SpinalTagReady
-
def
overrideLocalName(name: String): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
val
parentScope: ScopeStatement
- Definition Classes
- ContextUser
- val position: Int
- def prev: SpinalEnumElement[T]
-
val
refOwner: RefOwnerType
- Definition Classes
- OwnableRef
- Annotations
- @DontName()
-
def
reflectNames(): Unit
- Definition Classes
- Nameable
-
def
removeTag(spinalTag: SpinalTag): SpinalEnumElement.this.type
- Definition Classes
- SpinalTagReady
-
def
removeTags(tags: Iterable[SpinalTag]): SpinalEnumElement.this.type
- Definition Classes
- SpinalTagReady
-
val
scalaTrace: Throwable
- Definition Classes
- ScalaLocated
-
def
setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setCompositeName(nameable: Nameable, postfix: String): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setCompositeName(nameable: Nameable, namePriority: Byte): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setCompositeName(nameable: Nameable, weak: Boolean): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setCompositeName(nameable: Nameable): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setName(name: String, namePriority: Byte): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setName(name: String, weak: Boolean): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setName(name: String): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setNameAsWeak(): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setPartialName(name: String, namePriority: Byte, owner: Any): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setPartialName(name: String, namePriority: Byte): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setPartialName(name: String, weak: Boolean): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setPartialName(owner: Nameable, name: String, namePriority: Byte): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setPartialName(owner: Nameable, name: String, weak: Boolean): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setPartialName(name: String): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setPartialName(owner: Nameable, name: String): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setPartialName(owner: Nameable): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
def
setRefOwner(that: Any): Unit
- Definition Classes
- OwnableRef
-
def
setScalaLocated(source: ScalaLocated): SpinalEnumElement.this.type
- Definition Classes
- ScalaLocated
-
def
setWeakName(name: String): SpinalEnumElement.this.type
- Definition Classes
- Nameable
- val spinalEnum: T
-
def
spinalTags: LinkedHashSet[SpinalTag]
- Definition Classes
- SpinalTagReady
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Nameable → AnyRef → Any
-
def
unsetName(): SpinalEnumElement.this.type
- Definition Classes
- Nameable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated