object CallsNormalizer extends Normalizer
Normalizes function calls to fit into the NormalizedCalls sub-language, in which all function calls should have the form id = id(id1, id2, ...)
.
- Alphabetic
- By Inheritance
- CallsNormalizer
- Normalizer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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.
Adds a declaration.
- Definition Classes
- Normalizer
-
def
addStatement(stmt: AStmtInNestedBlock): Unit
Adds a statement.
Adds a statement.
- Definition Classes
- Normalizer
-
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.
The list of declarations that have to be added in the current function.
- Definition Classes
- Normalizer
-
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
- Definition Classes
- Normalizer
-
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.- Definition Classes
- Normalizer
-
def
newVariable(): String
- Definition Classes
- Normalizer
-
def
normalizeAssignable(e: Assignable): Assignable
Normalizes an Assignable.
Normalizes an Assignable.
- Definition Classes
- Normalizer
-
def
normalizeDeclaration(decl: AFunDeclaration): AFunDeclaration
Normalizes an AFunDeclaration.
Normalizes an AFunDeclaration.
- Definition Classes
- Normalizer
-
def
normalizeExpr(e: AExpr): AExpr
Normalizes an AExpr.
Normalizes an AExpr.
- Definition Classes
- CallsNormalizer → Normalizer
-
def
normalizeFunBlockStmt(stmt: AFunBlockStmt): AFunBlockStmt
Normalizes an AFunBlockStmt.
Normalizes an AFunBlockStmt.
- Definition Classes
- Normalizer
- def normalizeFunctionCall(f: ACallFuncExpr): ACallFuncExpr
-
def
normalizeProgram(program: AProgram): AProgram
Normalizes an AProgram.
Normalizes an AProgram.
- Definition Classes
- Normalizer
-
def
normalizeRecordField(f: ARecordField): ARecordField
Normalizes an ARecordField.
Normalizes an ARecordField.
- Definition Classes
- Normalizer
-
def
normalizeReturnStmt(ret: AReturnStmt): AReturnStmt
Normalizes an AReturnStmt.
Normalizes an AReturnStmt.
- Definition Classes
- Normalizer
-
def
normalizeStmtInNestedBlock(stmt: AStmtInNestedBlock): AStmtInNestedBlock
Normalizes an AStmtInNestedBlock.
Normalizes an AStmtInNestedBlock.
- Definition Classes
- CallsNormalizer → Normalizer
-
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.
- Definition Classes
- Normalizer
-
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.
- Definition Classes
- Normalizer
-
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