org
.
kiama
.
example
.
picojava
AbstractSyntax
object
AbstractSyntax
extends AnyRef
PicoJava abstract syntax
Linear Supertypes
AnyRef,
Any
Ordering
Alphabetic
By inheritance
Inherited
Hide All
Show all
AbstractSyntax
AnyRef
Any
Visibility
Public
All
Type Members
trait
ASTNode
extends Attributable with Positional
Attributes
sealed
class
Access
extends Exp
Attributes
sealed abstract
case class
AssignStmt
(
Variable: Access
,
Value: Exp
)
extends Stmt with Product with Serializable
case class
Block
(
BlockStmts: Seq[BlockStmt]
)
extends ASTNode with Product with Serializable
class
BlockStmt
extends ASTNode
Attributes
sealed abstract
case class
BooleanLiteral
(
Value: String
)
extends Exp with Product with Serializable
case class
ClassDecl
(
Name: String
,
Superclass: Option[IdnUse]
,
Body: Block
)
extends TypeDecl with Product with Serializable
class
Decl
extends BlockStmt
Attributes
sealed abstract
case class
Dot
(
ObjectReference: Access
,
IdnUse: IdnUse
)
extends Access with Product with Serializable
class
Exp
extends ASTNode
Attributes
sealed abstract
class
IdnUse
extends Access
Attributes
sealed abstract
case class
PrimitiveDecl
(
Name: String
)
extends TypeDecl with Product with Serializable
case class
Program
(
Block: Block
)
extends ASTNode with Product with Serializable
class
Stmt
extends BlockStmt
Attributes
sealed abstract
class
TypeDecl
extends Decl
Attributes
sealed abstract
case class
UnknownDecl
(
Name: String
)
extends TypeDecl with Product with Serializable
case class
Use
(
Name: String
)
extends IdnUse with Product with Serializable
case class
VarDecl
(
Type: Access
,
Name: String
)
extends Decl with Product with Serializable
case class
WhileStmt
(
Condition: Exp
,
Body: Stmt
)
extends Stmt with Product with Serializable
Value Members
def
!=
(
arg0: AnyRef
)
:
Boolean
Attributes
final
Definition Classes
AnyRef
def
!=
(
arg0:
Any
)
:
Boolean
Attributes
final
Definition Classes
Any
def
##
()
:
Int
Attributes
final
Definition Classes
AnyRef → Any
def
==
(
arg0: AnyRef
)
:
Boolean
Attributes
final
Definition Classes
AnyRef
def
==
(
arg0:
Any
)
:
Boolean
Attributes
final
Definition Classes
Any
def
asInstanceOf
[
T0
]
: T0
Attributes
final
Definition Classes
Any
def
clone
()
: AnyRef
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
def
eq
(
arg0: AnyRef
)
:
Boolean
Attributes
final
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
def
getClass
()
: java.lang.Class[_]
Attributes
final
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
isInstanceOf
[
T0
]
:
Boolean
Attributes
final
Definition Classes
Any
def
ne
(
arg0: AnyRef
)
:
Boolean
Attributes
final
Definition Classes
AnyRef
def
notify
()
:
Unit
Attributes
final
Definition Classes
AnyRef
def
notifyAll
()
:
Unit
Attributes
final
Definition Classes
AnyRef
def
synchronized
[
T0
]
(
arg0: ⇒ T0
)
: T0
Attributes
final
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
wait
()
:
Unit
Attributes
final
Definition Classes
AnyRef
Annotations
@throws
()
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Attributes
final
Definition Classes
AnyRef
Annotations
@throws
()
def
wait
(
arg0:
Long
)
:
Unit
Attributes
final
Definition Classes
AnyRef
Annotations
@throws
()
Inherited from AnyRef
Inherited from
Any
PicoJava abstract syntax