Package dtool.sourcegen.TemplatedSourceProcessorParser

Examples of dtool.sourcegen.TemplatedSourceProcessorParser.TspMetadataElement


        }
      } else if(tspElem instanceof TspStringElement) {
        TspStringElement stringElem = (TspStringElement) tspElem;
        sourceCase.sourceSB.append(stringElem.producedText);
      } else if(tspElem instanceof TspMetadataElement) {
        final TspMetadataElement mdElem = (TspMetadataElement) tspElem;
        elementStream = processMetadataElement(sourceCase, elementStream, mdElem);
      } else if(tspElem instanceof TspIfElseExpansionElement) {
        TspIfElseExpansionElement tspIfElse = (TspIfElseExpansionElement) tspElem;
        elementStream = processIfElseExpansion(sourceCase, elementStream, tspIfElse);
      } else if(tspElem instanceof TspMetadataEndElement) {
View Full Code Here


 
  public void processMetadataEndElem(ProcessingState sourceCase, TspMetadataEndElement mdEndElem) {
    int offset = mdEndElem.offset;
    String associatedSource = null;
   
    TspMetadataElement mdElem = mdEndElem.mdElem;
    if(mdElem.childElements != null) {
      if(mdElem.outputSource) {
        associatedSource = sourceCase.sourceSB.substring(offset, sourceCase.sourceSB.length());
      } else {
        associatedSource = sourceCase.sourceSB.toString();
View Full Code Here

TOP

Related Classes of dtool.sourcegen.TemplatedSourceProcessorParser.TspMetadataElement

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.