use of de.be4.classicalb.core.parser.node.AIncludesMachineClause in project probparsers by bendisposto.
the class BMachine method addIncludesClause.
public void addIncludesClause(String machineName) {
AIncludesMachineClause includes = new AIncludesMachineClause();
List<PMachineReference> referencesList = new ArrayList<>();
List<TIdentifierLiteral> idList = new ArrayList<>();
idList.add(new TIdentifierLiteral(machineName));
referencesList.add(new AMachineReference(idList, new ArrayList<PExpression>()));
includes.setMachineReferences(referencesList);
this.parseUnit.getMachineClauses().add(includes);
}
Aggregations