We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lets consider a .tm file
language prop(java); prefix = "AST" package = "ru.aptu.xml" gentree=true genast=true positions="offset, line" endpositions="offset" :: lexer identifier(String): /[a-zA-Z_][a-zA-Z_0-9]*/ { $symbol = current(); } openChar: /</ closeChar: />/ _skip: /[\n\t\r ]+/ (space) :: parser input ::= root=node; node ::= openChar identifier closeChar;
This compiles successfully without any warning but leads to a semantically wrong program. In /ast/AstNode we will get
public class AstNode extends AstNode { }
The text was updated successfully, but these errors were encountered:
TM issue3
9951f93
Updates inspirer/textmapper#3.
It looks as though this issue has been resolved.
Given the grammar a.tm, the output is ast/Ast_Node.java:
public class Ast_Node extends AstNode {
As such. Feel free to close this issue.
Sorry, something went wrong.
inspirer
No branches or pull requests
Lets consider a .tm file
This compiles successfully without any warning but leads to a semantically wrong program. In /ast/AstNode we will get
The text was updated successfully, but these errors were encountered: