object TestProgram extends Program
- Alphabetic
- By Inheritance
- TestProgram
- Program
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
object
declare
a helper object for conveniently adding declarations via val declare(names: Seq[ID]) = (d: DECL) This adds d to the list of declarations and binds names to the ID's declared by d.
a helper object for conveniently adding declarations via val declare(names: Seq[ID]) = (d: DECL) This adds d to the list of declarations and binds names to the ID's declared by d. The length of names must be equal to the list of introduced names. Most declarations introduce exactly one name; ADT and RECORD declarations introduce n+1 names: first the type name, then the list of constructors/fields.
- Attributes
- protected
- Definition Classes
- Program
-
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
-
def
add(d: DECL): Unit
adds a declaration merges consecutive ADT's and FUNCTION's into ADTRec and FUNCTIONRec
adds a declaration merges consecutive ADT's and FUNCTION's into ADTRec and FUNCTIONRec
- Attributes
- protected
- Definition Classes
- Program
- val add: ID
-
def
addTag(key: String): Unit
- Definition Classes
- Program
- val addr: ID
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
check: Unit
checks this program
checks this program
- Definition Classes
- Program
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val denom: ID
- val enum: ID
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get: List[DECL]
returns the list of declarations in declaration-order consecutive ADT's and FUNCTION's are merged into ADTRec and FUNCTIONRec
returns the list of declarations in declaration-order consecutive ADT's and FUNCTION's are merged into ADTRec and FUNCTIONRec
- Definition Classes
- Program
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getLabels(): List[String]
- Definition Classes
- Program
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val listnat: ID
- val mult: ID
- val nat: ID
-
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()
-
def
printIn(fl: FuncLang[String]): String
- Definition Classes
- Program
- val rat: ID
- val succ: ID
-
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()
- val zero: ID