How to fetch value from my text [message #1790324] |
Fri, 08 June 2018 07:37  |
Eclipse User |
|
|
|
Hi
I have my grammar which looks like this :
.......
.............
DataType2:
'DataType2' name=ID
'{'
'DataTypeRef' DataTypeRef = ( BasicType | OwnType )
'}';
.......
BasicType : Basic8 | Basic16 | BasicBool ;
Basic8 :{Basic8 } "unit9";
Basic16 :{Basic16 } "unit18";
BasicBool :{BasicBool} "boolean";
OwnTypes : referenced=[TypeX| QualifiedName];
TypeX: BasicDataType;
.................
..................
Now when user can write a file with the above data :
DataType2 abc {
DataTypeRef unit18 //(here i get a dropdown with values "unit9,unit18,bool" )
}
till here everything is fine ...:)
............................
now I want to fetch the "unit8" from the file in my back-end.
How to get this value from the user file, as I am not able to fetch the value from the object?
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.29115 seconds