24 lines
324 B
Text
24 lines
324 B
Text
parser CleanParser() {
|
|
state start {
|
|
transition select(meta.kind) {
|
|
0: parse_one;
|
|
default: reject;
|
|
}
|
|
}
|
|
|
|
state parse_one {
|
|
transition accept;
|
|
}
|
|
}
|
|
|
|
control ReuseControl() {
|
|
action helper() {}
|
|
table route {}
|
|
|
|
apply {
|
|
route.apply();
|
|
route.apply();
|
|
helper();
|
|
helper();
|
|
}
|
|
}
|