Anpassung an DQFL Specification V 1.1
This commit is contained in:
@@ -10,7 +10,7 @@ import de.dogfire.dqfl.error.DqflParseException;
|
||||
import de.dogfire.dqfl.model.*;
|
||||
|
||||
/**
|
||||
* Parser für DQFL V1 Dokumente.
|
||||
* Parser für DQFL V1/V1_1 Dokumente.
|
||||
* Liest ein einrückungssensitives Textformat und erzeugt einen {@link DqflDocument} AST.
|
||||
*/
|
||||
public final class DqflParser
|
||||
@@ -330,6 +330,10 @@ public final class DqflParser
|
||||
catBuilder.usePool(child.value);
|
||||
this.cursor++;
|
||||
}
|
||||
case "USE_CATEGORY" -> {
|
||||
catBuilder.useCategory(this.unquote(child.value));
|
||||
this.cursor++;
|
||||
}
|
||||
case "LAYOUT" -> {
|
||||
final LayoutType lt = LayoutType.parse(child.value);
|
||||
if(lt == null)
|
||||
@@ -670,4 +674,4 @@ public final class DqflParser
|
||||
+ this.keyword + (this.value != null ? " " + this.value : "");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user