Changeset 59 in default for trunk/de.ugoe.cs.swe.bnftools.xtools/src/resource
- Timestamp:
- 04/04/14 15:47:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/de.ugoe.cs.swe.bnftools.xtools/src/resource/tools/xtools/EbnfResourceTool.java
r58 r59 68 68 69 69 //first approach 70 System.out.println(" first approach (top down)");70 System.out.println("***** first approach (top down)"); 71 71 List<Rule> rules = EcoreUtil2.getAllContentsOfType(bnf, Rule.class); 72 72 for (Rule r : rules) { … … 81 81 82 82 //second approach 83 System.out.println(" second approach (bottom up)");83 System.out.println("***** second approach (bottom up)"); 84 84 for (RuleReference ref : EcoreUtil2.getAllContentsOfType(bnf, RuleReference.class)) { 85 85 Rule r = EcoreUtil2.getContainerOfType(ref, Rule.class); … … 90 90 91 91 //third approach 92 System.out.println(" thirapproach (cross referencing)");92 System.out.println("***** third approach (cross referencing)"); 93 93 for (Rule r : rules) { 94 94 System.out.println("Processing rule "+r.getName());
Note: See TracChangeset
for help on using the changeset viewer.