Package org.cfeclipse.cfml.parser

Examples of org.cfeclipse.cfml.parser.CFParser$StdErrReporter


     
     
      //TODO: Break this out into methods, the flow is maddening!
     
     
      CFParser parser = new CFParser();
        CFDocument cfdoc = parser.parseDoc(state.getIDocument().get());
      String prefix = extractPrefix(state.getIDocument(), state.getOffset());

        //Get the variables:
        HashMap varMap = cfdoc.getVariableMap();
        ICompletionProposal[] proposals = null;
View Full Code Here


      return columnProposals;
    }
   
   
    public ICompletionProposal[] getPageVariables(IAssistState state, ICFDocument doc){
      CFParser parser = new CFParser();
        CFDocument cfdoc = parser.parseDoc(state.getIDocument().get());
        //Get the variables:
        HashMap varMap = cfdoc.getVariableMap();
        String prefix = extractPrefix(doc, state.getOffset());
        Set<CompletionProposal> proposals = new HashSet<CompletionProposal>();
        int relavance;
View Full Code Here

  public void setParserResource(IResource newRes)
  {
      this.lastRes = newRes;
    if(docParser == null)
    {
      docParser = new CFParser(this, lastRes);
      IPreferenceStore prefStore = CFMLPlugin.getDefault().getPreferenceStore();
      docParser.setCFScriptParsing(prefStore.getBoolean(ParserPreferenceConstants.P_PARSE_DOCFSCRIPT));
    }
    else
    {
View Full Code Here

        catch (CoreException e)
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        CFParser parser = new CFParser();
        CFDocument doc = parser.parseDoc(inputString);

        // Now we just want to add the nodes!
        DocItem docroot = doc.getDocumentRoot();
        CFNodeList nodes;
        nodes = docroot.selectNodes("//cffunction");
View Full Code Here

    } catch (CoreException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }

    CFParser parser = new CFParser();
    IPreferenceStore prefStore = CFMLPlugin.getDefault().getPreferenceStore();
    parser.setCFScriptParsing(prefStore.getBoolean(ParserPreferenceConstants.P_PARSE_DOCFSCRIPT));
    CFDocument doc = parser.parseDoc(inputString);
    if (doc == null) {
      return null;
    }
    return doc.getFunctions();
  }
View Full Code Here

     
     
     
     
        //need to go and get all the cffunctions
      CFParser parser = new CFParser();
          CFDocument doc = parser.parseDoc(cfdocument.get());

          // Now we just want to add the nodes!
          DocItem docroot = doc.getDocumentRoot();
         
          CFNodeList compNodes = docroot.selectNodes("/cfcomponent");
View Full Code Here

      } catch (IOException e1) {
        e1.printStackTrace();
      }
     
      //Now lets parse it
      CFParser parser = new CFParser(circuitFile, cirFile);
     
     
      try{
        CFDocument elparso =  parser.parseDoc(circuitFile);
     
      //CFDocument parsedDoc = parser.getParseResult();
     
      if(elparso != null){
        DocItem rootItem = elparso.getDocumentRoot();
View Full Code Here

        // TODO Auto-generated catch block
        e1.printStackTrace();
      }
     
      //Now lets parse it
      CFParser parser = new CFParser(switchContents, switchFile);
     
      try{
        CFDocument swtichDoc =  parser.parseDoc(switchContents);
       
        if(swtichDoc != null){
          DocItem rootItem = swtichDoc.getDocumentRoot();
          CFNodeList switchItems = rootItem.selectNodes("//cfcase");
          Iterator switchIter = switchItems.iterator();
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.parser.CFParser$StdErrReporter

Copyright © 2018 www.massapicom. 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.