Commit a5245844 authored by Leonard Faecke's avatar Leonard Faecke
Browse files

+ Added analysis of external constants

parent 8d06b37a
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -487,13 +487,15 @@ public class UsageAnalyzer implements Callable<TTCN3Usage> {
	}
	
	/**
	 * Analyzes a ext constant definition. Currently just a skeleton
	 * @param con The ext constant definition to be analyzed
	 * Analyzes an external constant definition. Currently just a skeleton
	 * @param con The external constant definition to be analyzed
	 * @param output The TTCN3Usage to write the output to
	 */
	private void analyzeExtConstDef(ExtConstDef con, TTCN3Usage output) {
		addToOutput(output, "ExtConst");
		//TODO everything
		String id = "ExtConst:";
		if(con.getType().getPre() == null) id += "Non-Primitive";
		else id += con.getType().getPre();
		addNToOutput(output, id, con.getId().getIds().size());
	}
	
	/**