Interface StringBuilding

  • All Known Implementing Classes:
    HeaderParser, UriParser

    public interface StringBuilding
    For certain high-performance use-cases it is better to construct Strings that the parser is to produce/extract from the input in a char-by-char fashion.

    Mixing this trait into your parser gives you a simple facility to support this.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> appendSB()  
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> appendSB​(char c)  
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> appendSB​(int offset)  
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> appendSB​(java.lang.String s)  
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> clearSB()  
      void doPrepend​(char c)  
      void doPrepend​(java.lang.String s)  
      void doSet​(java.lang.String s)  
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> prependSB()  
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> prependSB​(char c)  
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> prependSB​(int offset)  
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> prependSB​(java.lang.String s)  
      java.lang.StringBuilder sb()  
      akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> setSB​(java.lang.String s)  
    • Method Detail

      • appendSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> appendSB()
      • appendSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> appendSB​(int offset)
      • appendSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> appendSB​(char c)
      • appendSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> appendSB​(java.lang.String s)
      • clearSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> clearSB()
      • doPrepend

        void doPrepend​(char c)
      • doPrepend

        void doPrepend​(java.lang.String s)
      • doSet

        void doSet​(java.lang.String s)
      • prependSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> prependSB()
      • prependSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> prependSB​(int offset)
      • prependSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> prependSB​(char c)
      • prependSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> prependSB​(java.lang.String s)
      • sb

        java.lang.StringBuilder sb()
      • setSB

        akka.parboiled2.Rule<akka.parboiled2.support.hlist.HNil,​akka.parboiled2.support.hlist.HNil> setSB​(java.lang.String s)