Skip to content

Commit 82d49be

Browse files
committed
Added a handler for class function members
1 parent 14a9849 commit 82d49be

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package org.luapp.language.handlers;
2+
3+
import org.antlr.v4.runtime.ParserRuleContext;
4+
import org.luapp.language.generator.luappParser;
5+
import org.luapp.language.listeners.LuaPPListener;
6+
7+
public class ClassFunctionHandler extends LuaPPListener {
8+
9+
public ClassFunctionHandler(){
10+
this.target = luappParser.RULE_classfunction;
11+
}
12+
13+
@Override
14+
public void onSetManager() {
15+
this.listenerManager.RegisterIgnoredContext(this.getTarget());
16+
}
17+
18+
@Override
19+
public void onEnterContext(ParserRuleContext enterContext) {
20+
21+
}
22+
23+
@Override
24+
public void onExitContext(ParserRuleContext exitContext) {
25+
26+
}
27+
}

0 commit comments

Comments
 (0)