Beginning to add some functionality to the parser
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export default {
|
||||
matches() {
|
||||
if (this.elements[1].regexp) {
|
||||
return [this.match].concat(this.elements[1].regexp.matches());
|
||||
} else {
|
||||
return [this.match];
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user