|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Xtext recursive statement [message #1732289 is a reply to message #1732123] |
Sun, 15 May 2016 00:35   |
Eclipse User |
|
|
|
Hi,
I am using validator to get the value entered for OpenDecl like
grammar:
OpenDecl: (openDecl+=Expression (','? openDecl+=Expression)*);
Validator Code:
@Check
def void checkOpenDecl(OpenDecl decl) {
println("OPen Declaration Test :::::::::::::::"+decl.openDecl)
}
the output I got:
OPen Declaration Test :::::::::::::::[com.prolifics.jpl.jPLEditor.impl.OneDeclImpl@1d03261 (number: null, jplString: null) (isEmpty: false, isArray: false, maxOccurs: null, isRange: false, range: null, hasSize: false, varsize: null, str: null, isArrayVar: false, hasExp: false, isString: false)]
I tried a lot but no luck. Could you please tell me how to get the value entered in editor?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10439 seconds