.
Second, precedence is introduced by creating non-terminals for every
predecedence level. So, for example, in the grammar, the non-terminal
M (Base Object) can be an Additive Pair, or a lamda function. One
non-terminal is created for each possibility.
-
jj_nt
-
-
lookingAhead
-
-
space
-
-
token
-
-
token_source
-
-
Parser(InputStream)
-
-
Parser(ParserTokenManager)
-
-
baseObject()
-
-
baseObject2()
-
-
commaBaseObject()
-
-
commaBaseObject2()
-
-
create(InputStream)
-
-
create(String)
-
-
disable_tracing()
-
-
enable_tracing()
-
-
functionBaseObject()
-
-
functionBaseObjectVector()
-
-
functionType()
-
-
generateParseException()
-
-
getNextToken()
-
-
getToken(int)
-
-
highestBaseObject()
-
-
highestBaseObject2()
-
-
highestType()
-
-
initSpaces(int)
-
-
lambdaBaseObject()
-
-
lambdaBaseObject2()
-
-
leftFunctionType()
-
-
leftFunctionTypeVector()
-
-
ReInit(InputStream)
-
-
ReInit(ParserTokenManager)
-
-
rightFunctionType()
-
-
root()
-
-
type()
-
-
typeFamily()
-
-
typeFamilyVector()
-
-
variable()
-
-
withType()
-
space
public static String space[]
token_source
public static ParserTokenManager token_source
token
public static Token token
jj_nt
public static Token jj_nt
lookingAhead
public static boolean lookingAhead
Parser
public Parser(InputStream stream)
Parser
public Parser(ParserTokenManager tm)
create
public static Parser create(InputStream is)
create
public static Parser create(String s)
initSpaces
public static void initSpaces(int max)
root
public static final BaseObject root() throws ParseException
baseObject
public static final BaseObject baseObject() throws ParseException
commaBaseObject
public static final BaseObject commaBaseObject() throws ParseException
lambdaBaseObject
public static final BaseObject lambdaBaseObject() throws ParseException
functionBaseObject
public static final BaseObject functionBaseObject() throws ParseException
functionBaseObjectVector
public static final Vector functionBaseObjectVector() throws ParseException
highestBaseObject
public static final BaseObject highestBaseObject() throws ParseException
typeFamily
public static final TypeFamily typeFamily() throws ParseException
typeFamilyVector
public static final Vector typeFamilyVector() throws ParseException
type
public static final Type type() throws ParseException
functionType
public static final Type functionType() throws ParseException
leftFunctionType
public static final Type leftFunctionType() throws ParseException
leftFunctionTypeVector
public static final Vector leftFunctionTypeVector() throws ParseException
rightFunctionType
public static final Type rightFunctionType() throws ParseException
withType
public static final Type withType() throws ParseException
highestType
public static final Type highestType() throws ParseException
variable
public static final Variable variable() throws ParseException
baseObject2
public static final BaseObject baseObject2() throws ParseException
commaBaseObject2
public static final BaseObject commaBaseObject2() throws ParseException
lambdaBaseObject2
public static final BaseObject lambdaBaseObject2() throws ParseException
highestBaseObject2
public static final BaseObject highestBaseObject2() throws ParseException
ReInit
public static void ReInit(InputStream stream)
ReInit
public void ReInit(ParserTokenManager tm)
getNextToken
public static final Token getNextToken()
getToken
public static final Token getToken(int index)
generateParseException
public static final ParseException generateParseException()
enable_tracing
public static final void enable_tracing()
disable_tracing
public static final void disable_tracing()