MCPcopy Index your code
hub / github.com/PCGen/pcgen / parseToken

Method parseToken

code/src/java/plugin/bonustokens/PostRangeAdd.java:64–73  ·  view source on GitHub ↗
(LoadContext context, String token)

Source from the content-addressed store, hash-verified

62 }
63
64 @Override
65 protected boolean parseToken(LoadContext context, String token)
66 {
67 if (ControlUtilities.hasControlToken(context, CControl.EQRANGE))
68 {
69 Logging.errorPrint("BONUS:POSTRANGEADD is disabled when EQRANGE control is used: " + token, context);
70 return false;
71 }
72 return super.parseToken(context, token);
73 }
74}

Callers

nothing calls this directly

Calls 3

hasControlTokenMethod · 0.95
errorPrintMethod · 0.95
parseTokenMethod · 0.65

Tested by

no test coverage detected