[06 - Top Down Parser] Add ÜB-Praxis-Abstiegsparser für X-Leer

This commit is contained in:
2020-05-11 10:21:13 +02:00
parent 4c23ada03e
commit 18b2c44318
63 changed files with 6066 additions and 116 deletions

View File

@@ -0,0 +1,28 @@
/* **********************************************
* Duale Hochschule Baden-Württemberg Karlsruhe
* Prof. Dr. Jörn Eisenbiegler
*
* Vorlesung Übersetzerbau
* Praxis X Abstiegsparser
* - Token-Definition stringConst
*
* **********************************************
*/
package de.dhbw.compiler.xparser;
public class StringConstToken extends Token {
private String value="";
public StringConstToken(int type, String text, int line, int column, String value) {
super(type,text,line,column);
this.value = value;
}
public String getValue() {
return value;
}
}