Skip to content

Commit e165986

Browse files
committed
Added JavaDoc for Parser.Builder
1 parent 4ebdd96 commit e165986

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/ch/usi/si/seart/treesitter/Parser.java

+8
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ public Builder toBuilder() {
8787
return builder().language(getLanguage()).timeout(getTimeout());
8888
}
8989

90+
/**
91+
* Facilitates the construction of Parser instances.
92+
* It allows for the step-by-step creation of these objects
93+
* by providing methods for setting individual attributes.
94+
* Input validations are performed at each build step.
95+
*
96+
* @since 1.7.0
97+
*/
9098
@FieldDefaults(level = AccessLevel.PRIVATE)
9199
@NoArgsConstructor(access = AccessLevel.PRIVATE)
92100
public static class Builder {

0 commit comments

Comments
 (0)