Fork me on GitHub

Token

In package com.mitchellbosecke.pebble.lexer

public class Token extends Object

Constructors

public Token(Type type, String value, int lineNumber)
Parameters:
  • Type type
  • String value
  • int lineNumber

Methods

public boolean test(Type type)
Parameters:
public boolean test(Type type, String values)
Parameters:
  • Type type
  • String values
public String getValue()
Parameters:
  • No parameters
public void setValue(String value)
Parameters:
  • String value
public Type getType()
Parameters:
  • No parameters
public void setType(Type type)
Parameters:
public int getLineNumber()
Parameters:
  • No parameters
public void setLineNumber(int lineNumber)
Parameters:
  • int lineNumber
public String toString()
Parameters:
  • No parameters