Skip to content

Commit eaa39f0

Browse files
committed
Documentation changes for 0.13 release
1 parent 365341a commit eaa39f0

File tree

3 files changed

+39
-4
lines changed

3 files changed

+39
-4
lines changed

BEXCodeCompare/src/main/java/info/codesaway/bex/IntRange.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ public default boolean isEmpty() {
6666
}
6767

6868
/**
69+
* Indicates if the range is a closed range containing one value
6970
*
70-
* @return
71+
* @return <code>true</code> if the range is a closed range containing one value
7172
* @since 0.13
7273
*/
7374
public default boolean isSingleValue() {

BEXCodeCompare/src/main/java/info/codesaway/bex/diff/DiffWithIndex.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ public DiffEdit getDiffEdit() {
1818
return this.diffEdit;
1919
}
2020

21+
/**
22+
* @since 0.13
23+
*/
2124
@Override
2225
public DiffEdit getValue() {
2326
return this.getDiffEdit();

BEXCodeCompare/src/main/java/info/codesaway/bex/parsing/BEXParsingState.java

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,35 @@
44

55
public enum BEXParsingState implements ParsingState {
66
// Code
7-
IN_EXPRESSION_BLOCK, IN_TAG,
7+
IN_EXPRESSION_BLOCK,
8+
9+
/**
10+
* @since 0.13
11+
*/
12+
IN_TAG,
13+
814
// Comment
9-
IN_LINE_COMMENT, IN_MULTILINE_COMMENT, IN_SECONDARY_MULTILINE_COMMENT,
15+
IN_LINE_COMMENT, IN_MULTILINE_COMMENT,
16+
17+
/**
18+
* @since 0.13
19+
*/
20+
IN_SECONDARY_MULTILINE_COMMENT,
21+
1022
// String literal
1123
IN_STRING_LITERAL, IN_SECONDARY_STRING_LITERAL,
24+
1225
// Whitespace
13-
WHITESPACE, LINE_TERMINATOR,
26+
/**
27+
* @since 0.13
28+
*/
29+
WHITESPACE,
30+
31+
/**
32+
* @since 0.13
33+
*/
34+
LINE_TERMINATOR,
35+
1436
// Other states
1537
MISMATCHED_DELIMITERS;
1638

@@ -19,16 +41,25 @@ public boolean isCode() {
1941
return in(this, IN_EXPRESSION_BLOCK, IN_TAG);
2042
}
2143

44+
/**
45+
* @since 0.13
46+
*/
2247
@Override
2348
public boolean isComment() {
2449
return in(this, IN_LINE_COMMENT, IN_MULTILINE_COMMENT, IN_SECONDARY_MULTILINE_COMMENT);
2550
}
2651

52+
/**
53+
* @since 0.13
54+
*/
2755
@Override
2856
public boolean isStringLiteral() {
2957
return in(this, IN_STRING_LITERAL, IN_SECONDARY_STRING_LITERAL);
3058
}
3159

60+
/**
61+
* @since 0.13
62+
*/
3263
@Override
3364
public boolean isWhitespace() {
3465
return in(this, WHITESPACE, LINE_TERMINATOR);

0 commit comments

Comments
 (0)