mirror of
https://github.com/DanilaFe/abacus
synced 2025-07-11 20:21:57 -07:00
15 lines
294 B
Java
15 lines
294 B
Java
|
package org.nwapw.abacus.lexing.pattern;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
|
||
|
public class LinkNode<T> extends PatternNode<T> {
|
||
|
|
||
|
@Override
|
||
|
public void addInto(ArrayList<PatternNode<T>> into) {
|
||
|
for(PatternNode<T> node : outputStates){
|
||
|
node.addInto(into);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|