Skip to content

Commit 6601131

Browse files
committed
added comments
1 parent 8e77ede commit 6601131

File tree

1 file changed

+9
-0
lines changed
  • src/main/java/com/igormaznitsa/prologparser/tokenizer

1 file changed

+9
-0
lines changed

src/main/java/com/igormaznitsa/prologparser/tokenizer/Op.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@
4949
@SuppressWarnings("unused")
5050
public final class Op extends PrologTerm {
5151

52+
/**
53+
* Highest allowed priority of operator
54+
*/
5255
public static final int PRECEDENCE_MAX = 0;
56+
/**
57+
* Lowest allowed priority of operator
58+
*/
5359
public static final int PRECEDENCE_MIN = 1200;
5460

5561
public static final Op GNU_UNARY_PLUS = make(200, FY, "+");
@@ -80,6 +86,9 @@ public final class Op extends PrologTerm {
8086
"multifile",
8187
"initialization"
8288
);
89+
/**
90+
* Set of operators specific for Sictus Prolog.
91+
*/
8392
public static final List<Op> SICTUS_SPECIFIC = Collections.unmodifiableList(Arrays.asList(
8493
MODIFIERS,
8594
make(1150, FX, "mode", "block", "meta_predicate"),

0 commit comments

Comments
 (0)