mirror of
https://github.com/DanilaFe/abacus
synced 2025-11-30 06:45:30 -08: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);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|