forked from phoedos/pmd
Fix root-node-name
This commit is contained in:
parent
c0150e4698
commit
0a6e4abc75
@ -8,7 +8,7 @@
|
||||
- lang-name: matches the grammar name (eg "Swift")
|
||||
- lang-terse-name: uncapitalized package name (eg "swift")
|
||||
- node-prefix: prefix for generated AST nodes (eg "Sw")
|
||||
- root-node-name: name of the root node (eg "TopLevel"), will be made to implement RootNode
|
||||
- root-node-name: name of the root node without prefix (eg "TopLevel"), will be made to implement RootNode
|
||||
|
||||
See AntlrGeneratedParserBase
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
<ant antfile="${antlr4.ant.wrapper}" target="pmd-language">
|
||||
<property name="lang-name" value="Kotlin" />
|
||||
<property name="lang-terse-name" value="kotlin" />
|
||||
<property name="root-node-name" value="File" />
|
||||
<property name="root-node-name" value="KotlinFile" />
|
||||
<property name="node-prefix" value="Kt" />
|
||||
</ant>
|
||||
</target>
|
||||
|
Loading…
x
Reference in New Issue
Block a user