Beispiel #1
0
 private void addMessage(Context context, Line line) {
   Message message = (Message) line.asElement(context);
   context.addMessage(message);
 }
Beispiel #2
0
 private void addDomain(Context context, Line line) {
   Domain domain = (Domain) line.asElement(context);
   context.addDomain(domain);
 }
Beispiel #3
0
 private void addMetadata(Context context, Line line) {
   Metadata metadata = (Metadata) line.asElement(context);
   context.addMetadata(metadata);
 }
Beispiel #4
0
 private void addVar(Context context, Line line) {
   Variable variable = (Variable) line.asElement(context);
   context.addVar(variable);
 }
Beispiel #5
0
 private void addConst(Context context, Line line) {
   Constant constant = (Constant) line.asElement(context);
   context.addConst(constant);
 }
Beispiel #6
0
 private void addProcess(Context context, Line line) {
   Process process = (Process) line.asElement(context);
   context.addProcess(process);
 }
Beispiel #7
0
 private void addRule(Context context, Line line) {
   Rule rule = (Rule) line.asElement(context);
   context.addRule(rule);
 }
Beispiel #8
0
 private void addScope(Context context, Line line) {
   Scope scope = (Scope) line.asElement(context);
   context.addScope(scope);
 }