mirror of
https://github.com/DanilaFe/abacus
synced 2026-01-27 17:15:21 +00:00
Implement a few nodes for the pattern matching.
This commit is contained in:
15
src/org/nwapw/abacus/lexing/pattern/EndNode.java
Normal file
15
src/org/nwapw/abacus/lexing/pattern/EndNode.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package org.nwapw.abacus.lexing.pattern;
|
||||
|
||||
public class EndNode<T> extends PatternNode<T> {
|
||||
|
||||
private T patternId;
|
||||
|
||||
public EndNode(T patternId){
|
||||
this.patternId = patternId;
|
||||
}
|
||||
|
||||
public T getPatternId(){
|
||||
return patternId;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user