Uses of Class
org.openstreetmap.josm.tools.template_engine.ParseError
-
Packages that use ParseError Package Description org.openstreetmap.josm.tools.template_engine Provides classes for a generic template engine used in presets, name rendering and search function. -
-
Uses of ParseError in org.openstreetmap.josm.tools.template_engine
Methods in org.openstreetmap.josm.tools.template_engine that return ParseError Modifier and Type Method Description static ParseError
ParseError. unexpectedChar(char expected, char found, int position)
Constructs a newParseError
for an unexpected character.Methods in org.openstreetmap.josm.tools.template_engine that throw ParseError Modifier and Type Method Description private Tokenizer.Token
TemplateParser. check(Tokenizer.TokenType expectedToken)
Tokenizer.Token
Tokenizer. lookAhead()
Look at the next tokenTokenizer.Token
Tokenizer. nextToken()
Get the next tokenTemplateEntry
TemplateParser. parse()
Parse the template.private TemplateEntry
TemplateParser. parseCondition()
private TemplateEntry
TemplateParser. parseContextSwitch()
private TemplateEntry
TemplateParser. parseExpression(java.util.Collection<Tokenizer.TokenType> endTokens)
private TemplateEntry
TemplateParser. parseVariable()
private void
TemplateParser. skipWhitespace()
private static SearchCompiler.Match
ContextSwitchTemplate. transform(SearchCompiler.Match m, int searchExpressionPosition)
Constructors in org.openstreetmap.josm.tools.template_engine that throw ParseError Constructor Description ContextSwitchTemplate(SearchCompiler.Match match, TemplateEntry template, int searchExpressionPosition)
Constructs a newContextSwitchTemplate
.
-