Fork me on GitHub

ParserImpl

In package com.mitchellbosecke.pebble.parser

public class ParserImpl extends Object implements Parser

Constructors

public ParserImpl(Map<String, UnaryOperator> unaryOperators, Map<String, BinaryOperator> binaryOperators, Map<String, TokenParser> tokenParsers, ParserOptions parserOptions)

Constructor

Parameters:

Methods

public RootNode parse(TokenStream stream)
Parameters:
public BodyNode subparse()
Parameters:
  • No parameters
public BodyNode subparse(StoppingCondition stopCondition)
Parameters:
public TokenStream getStream()
Parameters:
  • No parameters
public void setStream(TokenStream stream)
Parameters:
public ExpressionParser getExpressionParser()
Parameters:
  • No parameters
public String peekBlockStack()
Parameters:
  • No parameters
public String popBlockStack()
Parameters:
  • No parameters
public void pushBlockStack(String blockName)
Parameters:
  • String blockName