primaryExpr
- Throws:
IOException
ParseException
private static String
private boolean
private Parser
private final Vector<PragmaHandler>
private final Vector<SymtabEntry>
private Scanner
(package private) Token
private Expression
andExpr(Expression e,
SymtabEntry entry)
(package private) Expression
booleanConstExpr(SymtabEntry entry)
protected Object
clone()
(package private) void
closeScope(SymtabEntry entry)
private void
(package private) String
private void
define()
private Expression
definedExpr(SymtabEntry entry)
private void
elif()
private boolean
private Expression
equalityExpr(Expression e,
SymtabEntry entry)
(package private) String
expandMacro(String macroDef,
Token t)
(package private) SymtabEntry
getEntryForName(String string)
private String
getFilename(String name)
(package private) String
(package private) String
getUntil(char c)
private void
idPragma()
private void
ifClause()
private void
ifdef(boolean not)
private void
ifDefine(boolean inParens,
boolean not)
private void
include()
private void
include2(IncludeEntry include)
private void
include3(IncludeEntry include)
private void
include4(IncludeEntry include,
String filename)
(package private) void
private boolean
private void
private void
private void
private void
macroParms(Vector<String> parmNames)
private void
macroParms2(Vector<String> parmNames)
private void
macroParmValues(Vector<String> values)
private void
match(int type)
private void
miniMatch(int type)
(package private) String
private Expression
notExpr(SymtabEntry entry)
(package private) void
openScope(SymtabEntry entry)
private Expression
orExpr(Expression e,
SymtabEntry entry)
private void
otherPragmas(String pragmaType,
String currentToken)
(package private) void
parseException(String message)
private void
pragma()
private void
(package private) Expression
primaryExpr(SymtabEntry entry)
(package private) Token
(package private) void
registerPragma(PragmaHandler handler)
private String
removeDoublePound(String string)
private String
replaceAll(String string,
String from,
String to)
(package private) SymtabEntry
private void
private void
(package private) void
(package private) String
skipUntil(char c)
private String
private void
undefine()
private void
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
string
- entry name to look fornull
if no entryIOException
c
- token to read up to. The token itself will not be read.IOException
IOException
IOException
IOException
c
- token to indicate end of skippingIOException
message
- message to display as part of the ExceptionIOException
ParseException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
IOException
ParseException
FileNotFoundException
IOException
ParseException
entry
- the symbol table entry whose scope has just been opened.
Be aware that, since the scope has just been entered, this entry is
incomplete at this point.entry
- the symbol table entry whose scope has just been closed.