Package org.cfeclipse.cfml.editors.partitioner

Examples of org.cfeclipse.cfml.editors.partitioner.TagData


    fDblQuotesOpen = false;
    fSnglQuotesOpen = false;
    if (resume) {
     
      if (endSequenceDetected(scanner, tagString)) {
          TagData data = null;
          if (fStartSequence[1] != '/') {
              data = new TagData(fPartitionType + "_begin",tagString.toString(), fMidPartitionType,fPartitionType +"_end", new String(fStartSequence).substring(1) );
          } else {
              data = new TagData(fPartitionType,tagString.toString(), fMidPartitionType,fPartitionType, new String(fStartSequence).substring(2));
          }
        return new Token(data);
      }
   
    } else {
     
      int c= scanner.read();
      if (c == fStartSequence[0]) {
          tagString.append((char)c);
        if (sequenceDetected(scanner, fStartSequence, false, tagString)) {
          if (endSequenceDetected(scanner, tagString)) {
              TagData data = null;
              if (fStartSequence[1] != '/') {
                  data = new TagData(fPartitionType + "_begin",tagString.toString(), fMidPartitionType,fPartitionType +"_end", new String(fStartSequence).substring(1) );
              } else {
                  data = new TagData(fPartitionType,tagString.toString(), fMidPartitionType,fPartitionType, new String(fStartSequence).substring(2));
              }
            return new Token(data);
          }
        }
      }
View Full Code Here


    fDblQuotesOpen = false;
    fSnglQuotesOpen = false;
    if (resume) {
     
      if (endSequenceDetected(scanner, tagString)) {
          TagData data = null;
          if (fStartSequence[1] != '/') {
              data = new TagData(fPartitionType + "_begin",tagString.toString(), fMidPartitionType,fPartitionType +"_end", new String(fStartSequence).substring(1) );
          } else {
              data = new TagData(fPartitionType,tagString.toString(), fMidPartitionType,fPartitionType, new String(fStartSequence).substring(2));
          }
        return new Token(data);
      }
   
    } else {
     
      int c= scanner.read();
      if (c == fStartSequence[0]) {
          tagString.append((char)c);
        if (sequenceDetected(scanner, fStartSequence, false, tagString)) {
          if (endSequenceDetected(scanner, tagString)) {
              TagData data = null;
              if (fStartSequence[1] != '/') {
                  data = new TagData(fPartitionType + "_begin",tagString.toString(), fMidPartitionType,fPartitionType +"_end", new String(fStartSequence).substring(1) );
              } else {
                  data = new TagData(fPartitionType,tagString.toString(), fMidPartitionType,fPartitionType, new String(fStartSequence).substring(2));
              }
            return new Token(data);
          }
        }
      }
View Full Code Here

    fDblQuotesOpen = false;
    fSnglQuotesOpen = false;
    if (resume) {
     
      if (endSequenceDetected(scanner, tagString)) {
          TagData data = null;
          if (fStartSequence[1] != '/') {
          data = new TagData(fPartitionType + "_begin", tagString.toString(), fMidPartitionType, fPartitionType + "_end",
              "cfscript");
          } else {
          data = new TagData(fPartitionType, tagString.toString(), fMidPartitionType, fPartitionType, "cfscript");
          }
        data.fHasEnd = true;
        return new Token(data);
      }
   
    } else {
     
      int c= scanner.read();
      if (c == fStartSequence[0]) {
          tagString.append((char)c);
        if (sequenceDetected(scanner, fStartSequence, false, tagString)) {
          if (endSequenceDetected(scanner, tagString)) {
              TagData data = null;
            data = new TagData(fPartitionType + "_begin", "<cfscript>", fMidPartitionType, fPartitionType
                  + "_end",
                  "cfscript");
            return new Token(data);
          }
        }
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.editors.partitioner.TagData

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.