code.lang
Class IntModule

java.lang.Object
  extended by code.modules.CurryModule
      extended by code.lang.IntModule

public class IntModule
extends CurryModule

This class implements the arithmentic and relational binary operators on the builtin integers. Their identifiers are:

      +, -, *, div, mod
      <, <=, >, >=
  

Since:
Feb 28, 2003
Author:
Sergio Antoy

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

moduleName

public static final java.lang.String moduleName
See Also:
Constant Field Values

intTypeSymbol

private static final TypeSymbol intTypeSymbol

arithType

private static final TypeExpression arithType

relatType

private static final TypeExpression relatType
Constructor Detail

IntModule

public IntModule()
Method Detail

makeOp

private static OperationSymbol makeOp(java.lang.String symbolName,
                                      int associativity,
                                      int precedence,
                                      TypeExpression type,
                                      Instruction instruction)

createSymbols

private static final java.util.Vector<Symbol> createSymbols()