|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ParseContext | |
---|---|
org.pz.platypus | |
org.pz.platypus.commandTypes | |
org.pz.platypus.interfaces | |
org.pz.platypus.parsers |
Uses of ParseContext in org.pz.platypus |
---|
Methods in org.pz.platypus with parameters of type ParseContext | |
---|---|
private boolean |
PlatypusParser.blockClosesOnSameLine(ParseContext context,
java.lang.String blockCommentClosingSymbol)
|
java.lang.String |
PlatypusParser.extractCommandRoot(ParseContext context)
Extracts the root of a command. |
private int |
PlatypusParser.handleClosingBlockComment(TokenList newTokens,
ParseContext context,
int closeCommentStart)
Write the closed block comment to the token list and return the amount by which the isLineComment point needs to be moved up to get past the block comment. |
(package private) void |
PlatypusParser.invalidCommandError(ParseContext context,
TokenList tokens,
java.lang.String commandRoot)
Write an error message to console saying that the command-like token is not actually a Platypus command, and then write the token out to the output as a text token. |
private int |
PlatypusParser.outputMacroAsToken(ParseContext context,
TokenList tokens,
MacroParser mp)
Outputs the macro to the TokenList without expanding it. |
int |
PlatypusParser.parseSegment(ParseContext context,
TokenList tokens)
The primary line-parsing routine. |
int |
Symbol.process(GDD gdd,
ParseContext context,
TokenList tl,
boolean inCode)
method for processing this symbol. |
int |
PlatypusParser.processBlockComment(ParseContext context,
TokenList tokens)
Processes block comments. |
int |
PlatypusParser.processCommand(ParseContext context,
TokenList tokens)
Just grabs the command and writes it to the token list |
int |
PlatypusParser.processMacro(ParseContext context,
TokenList tokens)
If the config file for this output format says that Platypus expands macros, this routine looks up the macro, expands it, and puts the expanded form in gdd.expandedMacro. |
private void |
PlatypusParser.writeOutText(ParseContext context,
int endPoint,
TokenList tokens)
Write out text Token to the token list |
Uses of ParseContext in org.pz.platypus.commandTypes |
---|
Methods in org.pz.platypus.commandTypes with parameters of type ParseContext | |
---|---|
(package private) int |
FontFamily.findCommandClose(ParseContext context)
Finds the rough end of a command. |
int |
FontFamily.process(GDD gdd,
ParseContext context,
TokenList tl,
boolean inCode)
Processes the command and returns the number of chars in the lexeme. |
int |
CommandV.process(GDD gdd,
ParseContext context,
TokenList tl,
boolean inCode)
Processes the command, emits the corresponding token, and returns the number of chars in the lexeme. |
int |
CommandS.process(GDD gdd,
ParseContext context,
TokenList tl,
boolean inCode)
Processes the command and returns the number of chars in the command + parameters. |
int |
CommandR.process(GDD gdd,
ParseContext context,
TokenList tl,
boolean inCode)
Processes the command, emits the corresponding token, and returns the number of chars in the lexeme. |
int |
Command0.process(GDD gdd,
ParseContext context,
TokenList tl,
boolean inCode)
Processes the command and returns the number of chars in the lexeme. |
int |
FontFamily.processSubstitute(ParseContext context,
TokenList tl,
boolean inCode,
GDD gdd,
java.lang.String subst)
|
Uses of ParseContext in org.pz.platypus.interfaces |
---|
Methods in org.pz.platypus.interfaces with parameters of type ParseContext | |
---|---|
int |
ICommand.process(GDD gdd,
ParseContext context,
TokenList tokens,
boolean inCode)
method for processing this command. |
Uses of ParseContext in org.pz.platypus.parsers |
---|
Methods in org.pz.platypus.parsers with parameters of type ParseContext | |
---|---|
(package private) void |
CommandFamilyParser.fixUp(TokenList tokens,
ParseContext context,
int end)
Complex commands can have 1 or more commands. |
private void |
CommandFamilyParser.invalidCommandError(GDD gdd,
ParseContext context,
java.lang.String command)
Outputs the error info to the user console |
private void |
CommandFamilyParser.invalidParameterError(GDD gdd,
ParseContext context,
java.lang.String command)
Outputs the error info to the user console |
int |
CommandFamilyParser.parse(CommandTable ctable,
ParseContext context,
TokenList parsedTokens,
java.lang.String familyRoot,
GDD gdd)
Parses a compound command, extracting the next command (as pointed to in the ParseContext) and any parameters associated with the command. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |