Initial commit
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
export default function (isGroup, isOptional, isQuantifier, isAlternator) {
|
||||
this.matches = [];
|
||||
this.openGroup = isGroup || false;
|
||||
this.alternatorGroup = false;
|
||||
this.isGroup = isGroup || false;
|
||||
this.isOptional = isOptional || false;
|
||||
this.isQuantifier = isQuantifier || false;
|
||||
this.isAlternator = isAlternator || false;
|
||||
this.quantifier = {
|
||||
min: 1,
|
||||
max: 1
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user