Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gendoc » What is escape character?
What is escape character? [message #1750008] Thu, 15 December 2016 05:14 Go to next message
Eclipse UserFriend
Hello,
I'm looking for a method to print '[' and ']' to document.
when I uses '\[' or '\]' between <gendoc> and </gendoc>, gendoc generates error.
What is escape character?

Thanks
Re: What is escape character? [message #1750062 is a reply to message #1750008] Thu, 15 December 2016 15:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
Acceleo language is used inside <gendoc> tags, so the brackets can be printed inside Acceleo syntax brackets.
The following :
<gendoc> ['['/] text between brackets [']'/] </gendoc>

generates this :

[ text between brackets ]

Re: What is escape character? [message #1750108 is a reply to message #1750062] Fri, 16 December 2016 08:36 Go to previous message
Eclipse UserFriend
thanks, it works well
Previous Topic:Getting Default Values
Next Topic:How to insert a part of class diagram?
Goto Forum:
  


Current Time: Thu Feb 13 00:56:40 GMT 2025

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

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

Back to the top