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

Method processLoopToken

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

Helper method that deals with Processing the FOR./DFOR. tokens as a DFOR loop @param tokenString the token to loop over @param output The writer we write to @param aPC The PC we are exporting

(String tokenString, BufferedWriter output, PlayerCharacter aPC)

Source from the content-addressed store, hash-verified

1789 * @param aPC The PC we are exporting
1790 */
1791 private void processLoopToken(String tokenString, BufferedWriter output, PlayerCharacter aPC)
1792 {
1793 FileAccess.maxLength(-1);
1794
1795 existsOnly = false;
1796 noMoreItems = false;
1797 checkBefore = false;
1798
1799 replaceTokenForDfor(tokenString, output, aPC);
1800
1801 existsOnly = false;
1802 noMoreItems = false;
1803 }
1804
1805 /**
1806 * Helper method for replaceToken, deals with the filter tokens e.g. %DOMAIN, basically

Callers 1

replaceTokenMethod · 0.95

Calls 2

maxLengthMethod · 0.95
replaceTokenForDforMethod · 0.95

Tested by

no test coverage detected