Class Parser

  • All Implemented Interfaces:
    org.parboiled.ContextAware<Object>

    public class Parser
    extends org.parboiled.BaseParser<Object>
    Created by acearl on 3/6/2016.
    • Field Summary

      • Fields inherited from class org.parboiled.BaseParser

        ANY, DEDENT, EMPTY, EOI, INDENT, NOTHING
    • Constructor Summary

      Constructors 
      Constructor Description
      Parser​(hudson.model.Run<?,​?> run, hudson.FilePath workspace, hudson.model.TaskListener listener, String stringWithMacro)  
      Parser​(hudson.model.Run<?,​?> run, hudson.FilePath workspace, hudson.model.TaskListener listener, String stringWithMacro, int recursionLevel)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static String process​(hudson.model.AbstractBuild<?,​?> build, hudson.model.TaskListener listener, String stringWithMacro, boolean throwException, List<TokenMacro> privateTokens)  
      static String process​(hudson.model.Run<?,​?> run, hudson.FilePath workspace, hudson.model.TaskListener listener, String stringWithMacro, boolean throwException, List<TokenMacro> privateTokens)  
      void setPrivateTokens​(List<TokenMacro> privateTokens)  
      void setThrowException​(boolean throwException)  
      org.parboiled.Rule Text()  
      org.parboiled.Rule Token()  
      static String unescapeString​(String escapedString)
      Replaces all the printf-style escape sequences in a string with the appropriate characters.
      • Methods inherited from class org.parboiled.BaseParser

        ACTION, AnyOf, AnyOf, AnyOf, Ch, CharRange, FirstOf, FirstOf, fromCharArray, fromCharLiteral, fromStringLiteral, IgnoreCase, IgnoreCase, IgnoreCase, newInstance, NoneOf, NoneOf, NTimes, NTimes, OneOrMore, OneOrMore, Optional, Optional, Sequence, Sequence, String, String, Test, Test, TestNot, TestNot, toRule, toRules, ZeroOrMore, ZeroOrMore
      • Methods inherited from class org.parboiled.BaseActions

        currentChar, currentIndex, drop, drop, dup, getContext, hasError, inPredicate, match, matchedChar, matchEnd, matchLength, matchOrDefault, matchRange, matchStart, nodeSuppressed, peek, peek, poke, poke, pop, pop, position, push, push, pushAll, setContext, swap, swap3, swap4, swap5, swap6