system/src/sc/parser/NestedParselet.java
protected ParseNode newGeneratedSimpleParseNode(Object value, Parselet childParselet) {
      FormattedParseNode pnode = new FormattedParseNode(childParselet);
      pnode.value = value;
      pnode.generated = true;
      pnode.formattingParseNodes = childParselet.getFormattingParseNodes(new HashSet<Parselet>(16));
      // TODO? pnode.generated = true;
      return pnode;
   }
/**
    * Taking a short cut to the generation process.  When we have a string for a distinct generated value, we can
    * use the string as the generated output.  We do have to account for any formatting parse nodes, i.e. spacing,
    * newlines, etc. inserted automatically.   We gather those up so that they are applied during the format method
    * just as they would ordinarily be if we generated individual parse nodes for each child parselet.
    */
Taking a short cut to the generation process.  When we have a string for a distinct generated value, we can
use the string as the generated output.  We do have to account for any formatting parse nodes, i.e. spacing,
newlines, etc. inserted automatically.   We gather those up so that they are applied during the format method
just as they would ordinarily be if we generated individual parse nodes for each child parselet.
Taking a short cut to the generation process . When we have a string for a distinct generated value we can use the string as the generated output . We do have to account for any formatting parse nodes i . e . spacing newlines etc . inserted automatically . We gather those up so that they are applied during the format method just as they would ordinarily be if we generated individual parse nodes for each child parselet .
protected ParseNode newGeneratedSimpleParseNode(Object value, Parselet childParselet) {
      FormattedParseNode pnode = new FormattedParseNode(childParselet);
      pnode.value = value;
      pnode.generated = true;
      pnode.formattingParseNodes = childParselet.getFormattingParseNodes(new HashSet<Parselet>(16));
      return pnode;
   }
protected ParseNode newGeneratedSimpleParseNode ( Object value , Parselet childParselet ) { FormattedParseNode pnode = new FormattedParseNode ( childParselet ) ; pnode . value = value ; pnode . generated = true ; pnode . formattingParseNodes = childParselet . getFormattingParseNodes ( new HashSet < Parselet > ( 16 ) ) ; return pnode ; }
Taking a short cut to the generation process.
Taking a short cut to the generation process .
// TODO? pnode.generated = true;