Redirection Notice
Error:(29, 48) java: cannot find symbol
symbol: method getKey()
location: variable property of type com.simpleplugin.psi.SimpleProperty
for (SimpleProperty property : properties) { if (key.equals(property.getKey())) {
Check com.simpleplugin.psi.SimpleProperty, the methods should be there after parser classes regeneration. I had a slight delay in the update, rebuilding the project resolved that.
Thank you Both!
i checked the Git Repo: https://github.com/cheptsov/SimplePlugin/blob/master/gen/com/simpleplugin/psi/impl/SimplePropertyImpl.java
{ parserClass="com.zodiacscript.parser.ZodiacParser"
extends="com.intellij.extapi.psi.ASTWrapperPsiElement"
psiClassPrefix="Zodiac" psiImplClassSuffix="Impl" psiPackage="com.zodiacscript.psi" psiImplPackage="com.zodiacscript.psi.impl"
elementTypeHolderClass="com.zodiacscript.psi.ZodiacTypes" elementTypeClass="com.zodiacscript.psi.ZodiacElementType" tokenTypeClass="com.zodiacscript.psi.ZodiacTokenType"
psiImplUtilClass="com.zodiacscript.psi.impl.ZodiacPsiImplUtil" generateTokenAccessors=true//ADD THIS LINE }
root ::= file_content*
private file_content ::= (property|COMMENT|CRLF)
property ::= (KEY? SEPARATOR VALUE?) | KEY
Hi,
I've replace the line
by
Hope it will help =)
Baptiste.
5 Comments
Anonymous
Error:(29, 48) java: cannot find symbol
symbol: method getKey()
location: variable property of type com.simpleplugin.psi.SimpleProperty
for (SimpleProperty property : properties) { if (key.equals(property.getKey())) {
Andrey Myatlyuk
Check com.simpleplugin.psi.SimpleProperty, the methods should be there after parser classes regeneration. I had a slight delay in the update, rebuilding the project resolved that.
Anonymous
Thank you Both!
i checked the Git Repo: https://github.com/cheptsov/SimplePlugin/blob/master/gen/com/simpleplugin/psi/impl/SimplePropertyImpl.java
Anonymous
{
parserClass="com.zodiacscript.parser.ZodiacParser"
extends="com.intellij.extapi.psi.ASTWrapperPsiElement"
psiClassPrefix="Zodiac"
psiImplClassSuffix="Impl"
psiPackage="com.zodiacscript.psi"
psiImplPackage="com.zodiacscript.psi.impl"
elementTypeHolderClass="com.zodiacscript.psi.ZodiacTypes"
elementTypeClass="com.zodiacscript.psi.ZodiacElementType"
tokenTypeClass="com.zodiacscript.psi.ZodiacTokenType"
psiImplUtilClass="com.zodiacscript.psi.impl.ZodiacPsiImplUtil"
generateTokenAccessors=true//ADD THIS LINE
}
root ::= file_content*
private file_content ::= (property|COMMENT|CRLF)
property ::= (KEY? SEPARATOR VALUE?) | KEY
Anonymous
Hi,
I've replace the line
by
Hope it will help =)
Baptiste.