com.joanju.cg.codegen
Class TargetTypes
java.lang.Object
com.joanju.cg.codegen.TargetTypes
public class TargetTypes
- extends java.lang.Object
'Enum' of Progress procedure types.
This is only for calls/procedures, and has nothing to
do with other jump types, like triggers and pub/sub.
The three values are TokenTypes.PROCEDURE, TokenTypes.FUNCTION,
and TokenTypes.METHOD. I have not dealt with CONSTRUCTOR/DESTRUCTOR.
I still find Java enum to be too clumsy in places where
what I really need is int constants.
Method Summary |
static java.lang.String |
toString(int targetType)
For debugging output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROCEDURE
public static final int PROCEDURE
FUNCTION
public static final int FUNCTION
METHOD
public static final int METHOD
TargetTypes
public TargetTypes()
toString
public static java.lang.String toString(int targetType)
- For debugging output.
Copyright © 2008 Joanju Software. All Rights Reserved.