class LogicWriter extends AnyRef
- Source
- LogicWriter.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogicWriter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new LogicWriter(ls: LogicSyntax)
Type Members
- case class LogicWriterError(msg: String) extends Throwable with Product with Serializable
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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compile(ls: LogicSyntax, lname: String, hetsdir: String): Unit
ls - logic syntax lname - logic name dir - Hets main directory
ls - logic syntax lname - logic name dir - Hets main directory
splits logic to files figure out what part of logic syntax a declaration is --> compile an appropriate file name --> write declaration to file
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val files: List[String]
-
def
fillTemplate(template: File, cont: List[String]): List[LogicWriterError]
takes a file and content, fills in the content of the file, returns error list (unfilled tags)
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... ) @native()
-
def
write(logdir: String, cont: List[String], filename: String, templ: File): Unit
logdir - output directory cont - generated code filename - destination of generated code file name templ - template file
logdir - output directory cont - generated code filename - destination of generated code file name templ - template file
takes a list of DECLarations and an output file name, writes declarations to a file