system/src/sc/parser/ParentParseNode.java
public void addGeneratedNode(Object node, Parselet childParselet) {
      if (children == null)
         children = new ArrayList<Object>();

      if (childParselet.skip && !(parselet.needsChildren())) {
         if (children.size() == 1) {
            Object child = children.get(0);
            if (child instanceof StringToken) {
               children.set(0, StringToken.concatTokens((StringToken)child, (StringToken)node));
               return;
            }
         }
      }
      children.add(node);
   }
/** Faster version when we are generating strings a char at a time */
Faster version when we are generating strings a char at a time
Faster version when we are generating strings a char at a time
public void addGeneratedNode(Object node, Parselet childParselet) {
      if (children == null)
         children = new ArrayList<Object>();
      if (childParselet.skip && !(parselet.needsChildren())) {
         if (children.size() == 1) {
            Object child = children.get(0);
            if (child instanceof StringToken) {
               children.set(0, StringToken.concatTokens((StringToken)child, (StringToken)node));
               return;
            }
         }
      }
      children.add(node);
   }
public void addGeneratedNode ( Object node , Parselet childParselet ) { if ( children == null ) children = new ArrayList < Object > ( ) ; if ( childParselet . skip && ! ( parselet . needsChildren ( ) ) ) { if ( children . size ( ) == 1 ) { Object child = children . get ( 0 ) ; if ( child instanceof StringToken ) { children . set ( 0 , StringToken . concatTokens ( ( StringToken ) child , ( StringToken ) node ) ) ; return ; } } } children . add ( node ) ; }
Faster version when we are generating strings a char at a time
Faster version when we are generating strings a char at a time