org.kiama.example.oberon0.base

c

package c

Visibility
  1. Public
  2. All

Type Members

  1. abstract class CASTNode extends AnyRef

    Root type of all C abstract syntax tree nodes.

  2. case class CArrayType(size: Int, elemtype: CType) extends CType with Product with Serializable

    C array types.

  3. case class CBlock(decls: List[CDeclaration], stmts: List[CStatement]) extends CStatement with Product with Serializable

    C blocks.

  4. abstract class CDeclaration extends CASTNode

    Non-terminal type of C declarations.

  5. case class CEmptyStmt() extends CStatement with Product with Serializable

    C empty statements.

  6. abstract class CExpression extends CASTNode with PrettyExpression

    Non-terminal type for C expressions.

  7. case class CFunctionDecl(decl: CVarDecl, args: List[CDeclaration], body: CBlock) extends CDeclaration with Product with Serializable

    C function declarations.

  8. case class CInclude(s: String) extends CASTNode with Product with Serializable

    C include directive.

  9. case class CIntExp(v: Int) extends CExpression with Product with Serializable

    C integer expressions.

  10. case class CIntType() extends CType with Product with Serializable

    C integer type (int).

  11. trait CPrettyPrinter extends ParenPrettyPrinter

    Interface for all C pretty-printers.

  12. case class CProgram(includes: List[CInclude], decls: List[CDeclaration]) extends CASTNode with Product with Serializable

    C programs.

  13. case class CReturn(e: CExpression) extends CStatement with Product with Serializable

    C return statements.

  14. abstract class CStatement extends CASTNode

    Non-terminal type for C statements.

  15. case class CStrType() extends CType with Product with Serializable

    C string type (char *).

  16. abstract class CType extends CASTNode

    Non-terminal type for C types.

  17. case class CVarDecl(ident: String, tipe: CType) extends CDeclaration with Product with Serializable

    C variable declarations.

  18. trait PrettyPrinter extends CPrettyPrinter

No Group