Changeset 2955


Ignore:
Timestamp:
Mar 20, 2013, 1:29:47 PM (5 years ago)
Author:
ksherdy
Message:

Refactoring project structure.

Location:
proto/pabloj/trunk/src
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • proto/pabloj/trunk/src/applicationGenerator/ApplicationGenerator.java

    r2952 r2955  
    3131import compilers.pabloB.symbols.SymbolTable;
    3232import compilers.pabloS.lang.*;
     33import compilers.pabloS.semanticAnalyzer.Transformer;
    3334import compilers.pabloS.semanticAnalyzer.visitors.CarryInfoSetVisitor;
    3435import compilers.pabloS.semanticAnalyzer.visitors.PabloS2PabloBXFormer;
    35 import compilers.pabloS.semanticAnalyzer.visitors.PabloSTransformer;
    3636
    3737public class ApplicationGenerator {
     
    7878               
    7979                // Replace PabloS builtins and Carry Set builtins with target language strings.
    80                 PabloSTransformer pabloSXFormer = new PabloSTransformer(syntaxTree);
     80                Transformer pabloSXFormer = new Transformer(syntaxTree);
    8181                pabloSXFormer.setBuiltins2Lang(builtins2Lang);
    8282                pabloSXFormer.setCarrySet2Lang(carrySet2Lang);
  • proto/pabloj/trunk/src/compilers/pabloS/semanticAnalyzer/Transformer.java

    r2953 r2955  
    1 package compilers.pabloS.semanticAnalyzer.visitors;
     1package compilers.pabloS.semanticAnalyzer;
    22
    33//
     
    1111
    1212import compilers.pabloS.lang.*;
     13import compilers.pabloS.semanticAnalyzer.visitors.AdvanceCombinerXFormer;
     14import compilers.pabloS.semanticAnalyzer.visitors.AssertBitBlockAlignStmtsXFormer;
     15import compilers.pabloS.semanticAnalyzer.visitors.AssertZeroXFormer;
     16import compilers.pabloS.semanticAnalyzer.visitors.AugAssignXFormer;
     17import compilers.pabloS.semanticAnalyzer.visitors.Bitwise2IDISAXFormer;
     18import compilers.pabloS.semanticAnalyzer.visitors.CarryIntroXFormer;
     19import compilers.pabloS.semanticAnalyzer.visitors.DumpAssignStmtsXFormer;
    1320
    14 public class PabloSTransformer {
     21public class Transformer {
    1522       
    1623        private pabloS.ast.ASTNode ASTTree;
     
    2936        //
    3037        public static pabloS.ast.ASTNode analyze(pabloS.ast.ASTNode root) {
    31                 PabloSTransformer analyzer = new PabloSTransformer(root);               
     38                Transformer analyzer = new Transformer(root);           
    3239                return analyzer.xForm();
    3340        }       
     
    3542        //////////////////////////////////////////////////////////////
    3643        // constructor and helpers
    37         public PabloSTransformer(pabloS.ast.ASTNode ASTTree) {
     44        public Transformer(pabloS.ast.ASTNode ASTTree) {
    3845               
    3946                this.ASTTree = ASTTree;         
Note: See TracChangeset for help on using the changeset viewer.