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

Method parse

code/src/java/plugin/pretokens/parser/PreRuleParser.java:52–60  ·  view source on GitHub ↗

Parse the pre req list @param kind The kind of the prerequisite (less the "PRE" prefix) @param formula The body of the prerequisite. @param invertResult Whether the prerequisite should invert the result. @param overrideQualify if set true, this prerequisite will be enforced in spite

(String kind, String formula, boolean invertResult, boolean overrideQualify)

Source from the content-addressed store, hash-verified

50 * @throws PersistenceLayerException
51 */
52 @Override
53 public Prerequisite parse(String kind, String formula, boolean invertResult, boolean overrideQualify)
54 throws PersistenceLayerException
55 {
56
57 Prerequisite prereq = super.parse(kind, formula, invertResult, overrideQualify);
58 setNoNeedForChar(prereq);
59 return prereq;
60 }
61
62}

Callers 4

ruleDisabledMethod · 0.95
ruleEnabledMethod · 0.95
testPositiveMethod · 0.95
testNegativeMethod · 0.95

Calls 2

setNoNeedForCharMethod · 0.80
parseMethod · 0.65

Tested by 4

ruleDisabledMethod · 0.76
ruleEnabledMethod · 0.76
testPositiveMethod · 0.76
testNegativeMethod · 0.76