|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcode.modules.CurryModule
code.lang.IntModule
public class IntModule
This class implements the arithmentic and relational binary operators on the builtin integers. Their identifiers are:
+, -, *, div, mod
<, <=, >, >=
| Nested Class Summary | |
|---|---|
private static class |
IntModule.PrimIntCode
|
| Field Summary | |
|---|---|
private static TypeExpression |
arithType
|
private static TypeSymbol |
intTypeSymbol
|
static java.lang.String |
moduleName
|
private static TypeExpression |
relatType
|
| Fields inherited from class code.modules.CurryModule |
|---|
compiled, fileLocation, timestamp |
| Constructor Summary | |
|---|---|
IntModule()
|
|
| Method Summary | |
|---|---|
private static java.util.Vector<Symbol> |
createSymbols()
|
private static OperationSymbol |
makeOp(java.lang.String symbolName,
int associativity,
int precedence,
TypeExpression type,
Instruction instruction)
|
| Methods inherited from class code.modules.CurryModule |
|---|
getAllSymbolsEnumeration, getImportedEnumeration, printAsTxtLoadable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String moduleName
private static final TypeSymbol intTypeSymbol
private static final TypeExpression arithType
private static final TypeExpression relatType
| Constructor Detail |
|---|
public IntModule()
| Method Detail |
|---|
private static OperationSymbol makeOp(java.lang.String symbolName,
int associativity,
int precedence,
TypeExpression type,
Instruction instruction)
private static final java.util.Vector<Symbol> createSymbols()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||