Skip to content

Commit

Permalink
Make public some methods needed in the compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
tombentley committed Oct 26, 2015
1 parent 090158e commit 97e417e
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -682,7 +682,7 @@ static String typeNamesAsIntersection(
return sb.toString();
}

static boolean isAlwaysSatisfied(Tree.ConditionList cl) {
public static boolean isAlwaysSatisfied(Tree.ConditionList cl) {
if (cl==null) return false;
for (Tree.Condition c: cl.getConditions()) {
if (c instanceof Tree.BooleanCondition) {
Expand All @@ -709,7 +709,7 @@ static boolean isAlwaysSatisfied(Tree.ConditionList cl) {
return true;
}

static boolean isNeverSatisfied(Tree.ConditionList cl) {
public static boolean isNeverSatisfied(Tree.ConditionList cl) {
if (cl==null) return false;
for (Tree.Condition c: cl.getConditions()) {
if (c instanceof Tree.BooleanCondition) {
Expand All @@ -736,7 +736,7 @@ static boolean isNeverSatisfied(Tree.ConditionList cl) {
return false;
}

static boolean isAtLeastOne(Tree.ForClause forClause) {
public static boolean isAtLeastOne(Tree.ForClause forClause) {
Tree.ForIterator fi = forClause.getForIterator();
if (fi!=null) {
Tree.SpecifierExpression se =
Expand Down

0 comments on commit 97e417e

Please sign in to comment.