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

Method isForOrDForToken

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

Helper method to detect if a token is a DFOR or FOR token @param tokenString token to check @return true if it is a DFOR or FOR token

(String tokenString)

Source from the content-addressed store, hash-verified

1732 * @return true if it is a DFOR or FOR token
1733 */
1734 private boolean isForOrDForToken(String tokenString)
1735 {
1736 return tokenString.startsWith("FOR.") || tokenString.startsWith("DFOR.");
1737 }
1738
1739 /**
1740 * Helper method to determine if a string contains a mathematical token

Callers 1

replaceTokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected