case class CodeTaggedUnit(id: String, astNode: HASTNodeSequence, rawText: String, source: SourceInfo, metaInformation: Seq[MetaInformation[_]] = Seq()) extends InformationUnit with Product with Serializable
An information unit representing a paragraph mainly containing code.
- astNode
a sequence of HAST nodes representing the HAST of the unit.
- Alphabetic
- By Inheritance
- CodeTaggedUnit
- Serializable
- Serializable
- Product
- Equals
- InformationUnit
- JsonSerializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CodeTaggedUnit(id: String, astNode: HASTNodeSequence, rawText: String, source: SourceInfo, metaInformation: Seq[MetaInformation[_]] = Seq())
- astNode
a sequence of HAST nodes representing the HAST of the unit.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
astNode: HASTNodeSequence
- Definition Classes
- CodeTaggedUnit → InformationUnit
-
def
bindMetaInformation(otherMetaInformation: Seq[MetaInformation[_]]): CodeTaggedUnit
Binds the meta informations for this unit.
Binds the meta informations for this unit.
- Definition Classes
- CodeTaggedUnit → InformationUnit
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- InformationUnit → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- InformationUnit → AnyRef → Any
-
val
id: String
- Definition Classes
- CodeTaggedUnit → InformationUnit
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
metaInformation: Seq[MetaInformation[_]]
- Definition Classes
- CodeTaggedUnit → InformationUnit
-
lazy val
metaInformationTypes: Seq[scala.reflect.api.JavaUniverse.TypeTag[_]]
The sequence of meta information types available for the unit.
The sequence of meta information types available for the unit.
- Definition Classes
- InformationUnit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
rawText: String
- Definition Classes
- CodeTaggedUnit → InformationUnit
-
val
source: SourceInfo
- Definition Classes
- CodeTaggedUnit → InformationUnit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- InformationUnit → AnyRef → Any
-
def
type2metaInformation[T <: MetaInformation[T]](implicit tag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]
Given a type of a meta information, returns the corresponding meta information object, if it exists.
Given a type of a meta information, returns the corresponding meta information object, if it exists.
- T
the type of the meta information to retrieve.
- returns
an optional meta information object of the given type.
- Definition Classes
- InformationUnit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )