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

Method makeTree

code/src/java/pcgen/util/ParameterTree.java:78–90  ·  view source on GitHub ↗
(final String source)

Source from the content-addressed store, hash-verified

76 }
77
78 public static ParameterTree makeTree(final String source) throws ParseException
79 {
80 final Matcher mat = ParameterTree.pat.matcher(source);
81
82 if (mat.find())
83 {
84 return makeTree(source, false);
85 }
86 else
87 {
88 return new ParameterTree(source);
89 }
90 }
91
92 private static ParameterTree makeTree(final String source, final boolean operatorNeeded) throws ParseException
93 {

Callers 10

testMakeTree1Method · 0.95
testMakeTree2Method · 0.95
testMakeTree3Method · 0.95
testMakeTree4Method · 0.95
testMakeTree5Method · 0.95
testMakeTree6Method · 0.95
testMakeTree7Method · 0.95
testMakeTree8Method · 0.95
testMakeTree9Method · 0.95
convertParamsMethod · 0.95

Calls 11

toTreeMethod · 0.95
getContentsMethod · 0.95
getRightTreeMethod · 0.95
setRightTreeMethod · 0.95
setContentsMethod · 0.95
getLeftTreeMethod · 0.95
setLeftTreeMethod · 0.95
startMethod · 0.65
isEmptyMethod · 0.65
appendMethod · 0.45

Tested by 9

testMakeTree1Method · 0.76
testMakeTree2Method · 0.76
testMakeTree3Method · 0.76
testMakeTree4Method · 0.76
testMakeTree5Method · 0.76
testMakeTree6Method · 0.76
testMakeTree7Method · 0.76
testMakeTree8Method · 0.76
testMakeTree9Method · 0.76