Examples of accept()


Examples of org.openquark.cal.compiler.SourceModel.LocalDefn.accept()

            final int nLocalDefns = let.getNLocalDefinitions();
            for (int i = 0; i < nLocalDefns; i++) {
                LocalDefn localDefn = let.getNthLocalDefinition(i);

                localDefn.accept(this, options);
            }

            stack.pop();

            SourceTextNode inNode = new SourceTextNode(
View Full Code Here

Examples of org.openquark.cal.compiler.SourceModel.ModuleDefn.accept()

            modifications.addSourceModification(
                    new SourceModification.ReplaceText(source, formatted, new SourcePosition(1, 1, moduleDefn.getModuleName().toString())));
   
        } else {           
            //visit module elements and format those in range
            moduleDefn.accept(this, null);
        }
        return modifications;
    }
   
    /** used to find the embellishments that fall with a range being reformatted*/
 
View Full Code Here

Examples of org.openquark.cal.compiler.SourceModel.TypeClassDefn.ClassMethodDefn.accept()

            stack.pop();
           
            final int nClassMethodDefns = defn.getNClassMethodDefns();
            for (int i = 0; i < nClassMethodDefns; i++) {
                ClassMethodDefn method = defn.getNthClassMethodDefn(i);
                method.accept(this, options);
            }

            root.addChild(SourceTextNode.makeSemicolon());
            stack.pop();
View Full Code Here

Examples of org.openquark.cal.internal.javamodel.JavaStatement.JavaDocComment.accept()

            innerClass.accept(this, arg);
        }
       
        final JavaDocComment jdc = classRep.getJavaDoc();
        if (jdc != null && continueTraversal) {
            jdc.accept(this, arg);
        }
       
        final MultiLineComment mlc = classRep.getComment();
        if (mlc != null && continueTraversal) {
            mlc.accept(this, arg);
View Full Code Here

Examples of org.openquark.cal.internal.javamodel.JavaStatement.MultiLineComment.accept()

            jdc.accept(this, arg);
        }
       
        final MultiLineComment mlc = classRep.getComment();
        if (mlc != null && continueTraversal) {
            mlc.accept(this, arg);
        }
       
        return null;
    }
View Full Code Here

Examples of org.openquark.cal.internal.javamodel.JavaStatement.SwitchStatement.IntCaseGroup.accept()

                IntCaseGroup group = cases.get(i);
                Map<String, JavaTypeName> variablesToFindInGroup = new HashMap<String, JavaTypeName>(variablesOfInterest);
                remainingVars.add(variablesToFindInGroup);

                VarReleaser vr = new VarReleaser(variablesToFindInGroup);
                newCases.add((IntCaseGroup)group.accept(vr, null));
            }

            SwitchStatement.DefaultCase newDefault = null;
            Map<String, JavaTypeName> variablesOfInterestForDefault = new HashMap<String, JavaTypeName>(variablesOfInterest);
            if (switchStatement.getDefaultStatement() != null) {
View Full Code Here

Examples of org.openrdf.http.client.connections.HTTPRequest.accept()

    throws StoreConfigException
  {
    HTTPRequest request = pool.get();

    try {
      request.accept(type);
      execute(request);
      return request.read(type);
    }
    catch (IOException e) {
      throw new StoreConfigException(e);
View Full Code Here

Examples of org.openstreetmap.josm.data.osm.OsmPrimitive.accept()

        @Override
        public List<StyleRecord> call() throws Exception {
            for (int i = from; i<to; i++) {
                OsmPrimitive osm = input.get(i);
                if (osm.isDrawable()) {
                    osm.accept(this);
                }
            }
            return output;
        }
View Full Code Here

Examples of org.ow2.asm.ClassReader.accept()

    }

    @Override
    public void test() throws Exception {
        ClassReader cr = new ClassReader(is);
        cr.accept(new EmptyVisitor() {
            @Override
            public void visit(
                int version,
                int access,
                String name,
View Full Code Here

Examples of org.ow2.asm.signature.SignatureReader.accept()

                String[] interfaces)
            {
                if (signature != null) {
                    SignatureReader sr = new SignatureReader(signature);
                    SignatureWriter sw = new SignatureWriter();
                    sr.accept(new CheckSignatureAdapter(CheckSignatureAdapter.CLASS_SIGNATURE,
                            sw));
                    assertEquals(signature, sw.toString());
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.