Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » using custom java bean in my language(using custom java bean in my language)
using custom java bean in my language [message #1847529] Sun, 31 October 2021 07:49
Ramu M is currently offline Ramu MFriend
Messages: 8
Registered: December 2013
Junior Member
HI, can i use my java bean inside the DSL, I have created.
e.g i have a expression like this
grammer is
'if' expression=Expression '==' rhs=ID
'return' act=Expression

Expression: type=[JvmType::JvmDeclaredType];
in my new language i want to use it like this

if com.my.Person.name == 'XYZ'
return com.my.Person.dob;


where person is a bean in my project

is that possible ? if yes , please guide me to reference or doc

thank you
Previous Topic:How to add Template Proposal in Xtext as LSP for VSCODE
Next Topic:log4j.properties not updating
Goto Forum:
  


Current Time: Fri Sep 30 07:40:35 GMT 2022

Powered by FUDForum. Page generated in 0.02089 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top