c

tip.ast

Normalizer

class Normalizer extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Normalizer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Normalizer()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addDeclaration(decl: AIdentifierDeclaration): Unit

    Adds a declaration.

  5. def addStatement(stmt: AStmtInNestedBlock): Unit

    Adds a statement.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  8. val declarations: ListBuffer[AIdentifierDeclaration]

    The list of declarations that have to be added in the current function.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. var lastUid: Int
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def nestedBlock(stmt: AStmtInNestedBlock): AStmtInNestedBlock

    Helper function to insert statements if there are any to insert before stmt.

    Helper function to insert statements if there are any to insert before stmt. Otherwise, returns the same statement.

  17. def newVariable(): String
  18. def normalizeAssignable(e: Assignable): Assignable

    Normalizes an Assignable.

  19. def normalizeDeclaration(decl: AFunDeclaration): AFunDeclaration

    Normalizes an AFunDeclaration.

  20. def normalizeExpr(e: AExpr): AExpr

    Normalizes an AExpr.

  21. def normalizeFunBlockStmt(stmt: AFunBlockStmt): AFunBlockStmt

    Normalizes an AFunBlockStmt.

  22. def normalizeProgram(program: AProgram): AProgram

    Normalizes an AProgram.

  23. def normalizeRecordField(f: ARecordField): ARecordField

    Normalizes an ARecordField.

  24. def normalizeReturnStmt(ret: AReturnStmt): AReturnStmt

    Normalizes an AReturnStmt.

  25. def normalizeStmtInNestedBlock(stmt: AStmtInNestedBlock): AStmtInNestedBlock

    Normalizes an AStmtInNestedBlock.

  26. def normalizeToIdentifier(right: AExpr): AIdentifier

    Normalizes an AExpr into an AIdentifier.

    Normalizes an AExpr into an AIdentifier. This is not used by the Normalizer class but useful for subclasses, as this is a common operation.

  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  29. val statements: ListBuffer[AStmtInNestedBlock]

    The list of statements to be added in the current block.

    The list of statements to be added in the current block. This will mostly be assignments but can be any statement that can be in a nested block.

  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped