Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext Nodeutil undefined error(Xtext Nodeutil undefined error)
Xtext Nodeutil undefined error [message #1738217] Mon, 18 July 2016 08:43 Go to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
Hi,

I have written below code

val EObject lastObject = NodeUtil.findASTElement(lastNode);

But I am getting NodeUtil is undefined error. I am using Xtext 2.9.

Re: Xtext Nodeutil undefined error [message #1738224 is a reply to message #1738217] Mon, 18 July 2016 09:04 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7677
Registered: July 2009
Senior Member
Hi

It changed to NodeModelUtils quite a long time ago.

Regards

Ed Willink

On 18/07/2016 09:43, Sachin Samaram wrote:
> Hi,
>
> I have written below code
>
> val EObject lastObject = NodeUtil.findASTElement(lastNode);
>
> But I am getting NodeUtil is undefined error. I am using Xtext 2.9.
>
>


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Re: Xtext Nodeutil undefined error [message #1738227 is a reply to message #1738224] Mon, 18 July 2016 09:30 Go to previous messageGo to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
I used it but is showing findASTElement is not function. What is the alter for findASTElement when I am using NodeModelUtils ?
Re: Xtext Nodeutil undefined error [message #1738229 is a reply to message #1738227] Mon, 18 July 2016 09:34 Go to previous message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 14722
Registered: July 2009
Senior Member
findActualSemanticObjectFor

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Previous Topic:Problems Using XText Language in Java project.
Next Topic:Hint on how to implement dynamically enabled/disabled language features
Goto Forum:
  


Current Time: Sat Oct 12 10:37:24 GMT 2024

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

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

Back to the top