MCPcopy Create free account
hub / github.com/PCGen/pcgen / replaceTokenSkipMath

Method replaceTokenSkipMath

code/src/java/pcgen/io/ExportHandler.java:178–184  ·  view source on GitHub ↗

Replace the token, but deliberately skip the math @param aPC The PC being exported @param aString the string which will have its tokens replaced @param output the object that represents the sheet we are exporting

(PlayerCharacter aPC, String aString, BufferedWriter output)

Source from the content-addressed store, hash-verified

176 * @param output the object that represents the sheet we are exporting
177 */
178 public void replaceTokenSkipMath(PlayerCharacter aPC, String aString, BufferedWriter output)
179 {
180 final boolean oldSkipMath = skipMath;
181 skipMath = true;
182 replaceToken(aString, output, aPC);
183 skipMath = oldSkipMath;
184 }
185
186 /**
187 * Exports the contents of the given PlayerCharacter to a Writer

Callers 3

evaluateTokenMethod · 0.95
getExportVariableMethod · 0.95
mathModeMethod · 0.95

Calls 1

replaceTokenMethod · 0.95

Tested by 1

evaluateTokenMethod · 0.76