class Normalizer extends AnyRef
- Alphabetic
- By Inheritance
- Normalizer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Normalizer()
Value Members
-
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
addDeclaration(decl: AIdentifierDeclaration): Unit
Adds a declaration.
-
def
addStatement(stmt: AStmtInNestedBlock): Unit
Adds a statement.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
val
declarations: ListBuffer[AIdentifierDeclaration]
The list of declarations that have to be added in the current function.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var lastUid: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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. - def newVariable(): String
-
def
normalizeAssignable(e: Assignable): Assignable
Normalizes an Assignable.
-
def
normalizeDeclaration(decl: AFunDeclaration): AFunDeclaration
Normalizes an AFunDeclaration.
-
def
normalizeExpr(e: AExpr): AExpr
Normalizes an AExpr.
-
def
normalizeFunBlockStmt(stmt: AFunBlockStmt): AFunBlockStmt
Normalizes an AFunBlockStmt.
-
def
normalizeProgram(program: AProgram): AProgram
Normalizes an AProgram.
-
def
normalizeRecordField(f: ARecordField): ARecordField
Normalizes an ARecordField.
-
def
normalizeReturnStmt(ret: AReturnStmt): AReturnStmt
Normalizes an AReturnStmt.
-
def
normalizeStmtInNestedBlock(stmt: AStmtInNestedBlock): AStmtInNestedBlock
Normalizes an AStmtInNestedBlock.
-
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.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated