forked from phoedos/pmd
Reorganise antlr files
Antlr root nodes need to implement RootNode. Also, I didn't like the fact that the swift module didn't use the conventional package structure (lang.swift.ast) but was rolling its own convention (lang.swift.antlr4). I moved base classes for the antlr implementations into nspmd.lang.ast.impl.antlr4. The fact that a module is implemented with antlr is an implementation detail, and it doesn't deserve its own toplevel package in nspmd.lang.
This commit is contained in:
@ -6,7 +6,8 @@ package net.sourceforge.pmd.cpd;
|
||||
|
||||
import org.antlr.v4.runtime.CharStream;
|
||||
|
||||
import net.sourceforge.pmd.lang.antlr.AntlrTokenManager;
|
||||
import net.sourceforge.pmd.cpd.internal.AntlrTokenizer;
|
||||
import net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrTokenManager;
|
||||
import net.sourceforge.pmd.lang.go.antlr4.GolangLexer;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user