package c
Type Members
-
case class
CArrayType
(size: Int, elemtype: CType) extends CType with Product with Serializable
C array types.
-
case class
CBlock
(decls: Seq[CDeclaration], stmts: Seq[CStatement]) extends CStatement with Product with Serializable
C blocks.
-
abstract
class
CDeclaration
extends CTree
Non-terminal type of C declarations.
-
case class
CEmptyStmt
() extends CStatement with Product with Serializable
C empty statements.
-
abstract
class
CExpression
extends CTree with PrettyExpression
Non-terminal type for C expressions.
-
case class
CFunctionDecl
(decl: CVarDecl, args: Seq[CDeclaration], body: CBlock) extends CDeclaration with Product with Serializable
C function declarations.
-
case class
CInclude
(s: String) extends CTree with Product with Serializable
C include directive.
-
case class
CIntExp
(v: Int) extends CExpression with Product with Serializable
C integer expressions.
-
case class
CIntType
() extends CType with Product with Serializable
C integer type (int).
-
trait
CPrettyPrinter
extends ParenPrettyPrinter
Interface for all C pretty-printers.
-
case class
CProgram
(includes: Seq[CInclude], decls: Seq[CDeclaration]) extends CTree with Product with Serializable
C programs.
-
case class
CReturn
(e: CExpression) extends CStatement with Product with Serializable
C return statements.
-
abstract
class
CStatement
extends CTree
Non-terminal type for C statements.
-
case class
CStrType
() extends CType with Product with Serializable
C string type (char *).
-
abstract
class
CTree
extends AnyRef
Root type of all C abstract syntax tree nodes.
-
abstract
class
CType
extends CTree
Non-terminal type for C types.
-
case class
CVarDecl
(ident: String, tipe: CType) extends CDeclaration with Product with Serializable
C variable declarations.