Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Disable terminal rule on selected parser rule?(Disable terminal rule on selected parser rule?)
Disable terminal rule on selected parser rule? [message #1734363] Tue, 07 June 2016 13:47 Go to next message
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 271
Registered: April 2016
Senior Member
Hi,

Can anyone tell me is there any way to disable terminal rule on a particular parser rule in xtext?
Re: Disable terminal rule on selected parser rule? [message #1734368 is a reply to message #1734363] Tue, 07 June 2016 14:25 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13192
Registered: July 2009
Senior Member
i think you need a custom / stateful / external lexer to solve such a problem.

http://typefox.io/taming-the-lexer will give you some hints.

id still be interested on how you lang is parsed until now


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Tue, 07 June 2016 14:47]

Report message to a moderator

Previous Topic:[SOLVED] keyword as identifier
Next Topic:compile operation
Goto Forum:
  


Current Time: Fri Nov 15 13:10:36 GMT 2019

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

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

Back to the top