FGConstants

public final class FGConstants

Constants used by the FlowGraph.

Fields

ALL_CASES

public static final int ALL_CASES

ASS_GOTO

public static final int ASS_GOTO

CALL

public static final int CALL

CASE

public static final int CASE

COMP_GOTO

public static final int COMP_GOTO

CYCLE

protected static final Integer CYCLE

DEFAULT

public static final int DEFAULT

ELSEWHERE

public static final int ELSEWHERE

ENTRY

public static final int ENTRY

EQ

public static final int EQ

The following values are chosen such that LT + EQ = LE, etc… They are the value of a 3-bit object such that bit 1 (*4) represents “less than” bit 2 (*2) represents “equals” (or “true”) bit 3 (*1) represens “greater than” Therefore 7 (= “111”) represents all cases.

EXIT

public static final int EXIT

FALSE

public static final int FALSE

GE

public static final int GE

GT

public static final int GT

IF

public static final int IF

INIT_CONSTRUCTOR

public static final int INIT_CONSTRUCTOR

IO_END

public static final int IO_END

IO_EOR

public static final int IO_EOR

IO_ERR

public static final int IO_ERR

IO_GOTO

public static final int IO_GOTO

LE

public static final int LE

LOOP

public static final int LOOP

LT

public static final int LT

MAIN

public static final int MAIN

NE

public static final int NE

NOMATCH

public static final int NOMATCH

NO_TEST

public static final int NO_TEST

POP

protected static final Integer POP

The following for the “iter” field in FGArrow’s.

PUSH

protected static final Integer PUSH

TRUE

public static final int TRUE