|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of TokenList in org.pz.platypus |
---|
Fields in org.pz.platypus declared as TokenList | |
---|---|
private TokenList |
GDD.inputTokens
|
Methods in org.pz.platypus that return TokenList | |
---|---|
TokenList |
GDD.getInputTokens()
|
Methods in org.pz.platypus with parameters of type TokenList | |
---|---|
void |
PlatypusParser.addToken(TokenList tokens,
TokenType tokType,
java.lang.String content,
Source source)
Adds a parsed token to the ArrayList of tokens |
(package private) void |
PlatypusParser.emitEolToken(TokenList newTokens,
Source source)
Emits the so-called "soft" EOL command used when at end of line. |
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. |
int |
PlatypusParser.noParse(LineList lines,
TokenList tokens)
Some output plugins want to parse the input text themselves. |
int |
Command.notExecutedInCodeSection(java.lang.String command,
TokenList tl,
Source source,
GDD gdd)
Handles the situation in which a command that is not supported in a listing or code section is encountered while in one. |
private int |
PlatypusParser.outputMacroAsToken(ParseContext context,
TokenList tokens,
MacroParser mp)
Outputs the macro to the TokenList without expanding it. |
int |
PlatypusParser.parse(LineList lines,
TokenList tokens,
PropertyFile configFile,
java.lang.String pluginPrefix)
Converts input lines into an ArrayList of parsed tokens. |
int |
PlatypusParser.parseLine(TokenList newTokens,
InputLine line)
Parse a line of the input file |
int |
PlatypusParser.parseSegment(ParseContext context,
TokenList tokens)
The primary line-parsing routine. |
int |
Command.process(char[] input,
int parsePoint,
TokenList tl,
boolean inCode,
Source source,
GDD gdd)
method for processing this command. |
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. |
void |
GDD.setInputTokens(TokenList newInputTokens)
|
int |
PlatypusParser.writeOutText(int start,
int end,
char[] text,
TokenList tokensOut,
Source source)
Write out a set of text characters to the token list as a text token |
private void |
PlatypusParser.writeOutText(ParseContext context,
int endPoint,
TokenList tokens)
Write out text Token to the token list |
Uses of TokenList in org.pz.platypus.commandTypes |
---|
Methods in org.pz.platypus.commandTypes with parameters of type TokenList | |
---|---|
(package private) void |
FontFamily.insertOriginalLexeme(TokenList tl,
java.lang.String origLexeme)
In cases where the current token is an expanded form of a shorthand command, this routine replaces the lexeme in the processed token with the original shorthand that the user wrote. |
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 TokenList in org.pz.platypus.interfaces |
---|
Methods in org.pz.platypus.interfaces with parameters of type TokenList | |
---|---|
int |
ICommand.process(GDD gdd,
ParseContext context,
TokenList tokens,
boolean inCode)
method for processing this command. |
Uses of TokenList in org.pz.platypus.parsers |
---|
Methods in org.pz.platypus.parsers with parameters of type TokenList | |
---|---|
(package private) void |
CommandFamilyParser.fixUp(TokenList tokens,
ParseContext context,
int end)
Complex commands can have 1 or more commands. |
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. |
Uses of TokenList in org.pz.platypus.plugin.html |
---|
Methods in org.pz.platypus.plugin.html with parameters of type TokenList | |
---|---|
(package private) boolean |
Start.isNextTokenCr(int currTokNumber,
TokenList tokList)
Determines if the next token in the token list is the command [cr] |
Uses of TokenList in org.pz.platypus.plugin.listing |
---|
Methods in org.pz.platypus.plugin.listing with parameters of type TokenList | |
---|---|
private int |
Start.skipNextTokens(int currTokIndex,
Token tok,
TokenList tokensList)
We skip next one or many tokens at times. |
private boolean |
Start.skipThisToken(Token tok,
TokenList tokensList,
int i)
Will the next record indicate the present command is a replacement? If so, don't print this command, just skip it. |
int |
Start.tokensToSkip(TokenList tokList,
int tokenNumber)
We skip all compound commands tokens. |
Uses of TokenList in org.pz.platypus.plugin.pdf |
---|
Methods in org.pz.platypus.plugin.pdf with parameters of type TokenList | |
---|---|
(package private) boolean |
Start.isNextTokenCr(int currTokNumber,
TokenList tokList)
Determines if the next token in the token list is the command [cr] |
Uses of TokenList in org.pz.platypus.plugin.pdf.commands |
---|
Methods in org.pz.platypus.plugin.pdf.commands with parameters of type TokenList | |
---|---|
void |
DefUserString.convertToTextToken(Source source,
TokenList tl)
In the event of an error, the command is converted into a series of text tokens (after the error message is shown). |
(package private) boolean |
PdfCodeOff.justBeforeEndOfParagraph(TokenList tokens,
int tokNum)
A new paragraph adds the requisite number of lines presuming that it's adding them to the end of the previous paragraph, not at the start of the next line, as is the case here when [-code] is followed by a [cr]. |
(package private) boolean |
PdfCodeOff.nextTokenIsEol(TokenList tokens,
int tokNum)
Is the next command an end of line, that is, a [cr] command? |
Uses of TokenList in org.pz.platypus.utilities |
---|
Methods in org.pz.platypus.utilities with parameters of type TokenList | |
---|---|
static int |
ProcessSymbol.toToken(Source source,
TokenList tl,
java.lang.String root)
Adds the symbol to the end of the token list. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |