private void addMessage(Context context, Line line) { Message message = (Message) line.asElement(context); context.addMessage(message); }
private void addDomain(Context context, Line line) { Domain domain = (Domain) line.asElement(context); context.addDomain(domain); }
private void addMetadata(Context context, Line line) { Metadata metadata = (Metadata) line.asElement(context); context.addMetadata(metadata); }
private void addVar(Context context, Line line) { Variable variable = (Variable) line.asElement(context); context.addVar(variable); }
private void addConst(Context context, Line line) { Constant constant = (Constant) line.asElement(context); context.addConst(constant); }
private void addProcess(Context context, Line line) { Process process = (Process) line.asElement(context); context.addProcess(process); }
private void addRule(Context context, Line line) { Rule rule = (Rule) line.asElement(context); context.addRule(rule); }
private void addScope(Context context, Line line) { Scope scope = (Scope) line.asElement(context); context.addScope(scope); }