blob: cfd9feb63b14d2e9f3b9606119e6d924eecf7e14 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Sat Feb 27 13:52:04 CET 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.velocity.runtime.parser.ParseException (Apache Velocity 2.3 API)</title>
<meta name="date" content="2021-02-27">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.velocity.runtime.parser.ParseException (Apache Velocity 2.3 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/velocity/runtime/parser/class-use/ParseException.html" target="_top">Frames</a></li>
<li><a href="ParseException.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.apache.velocity.runtime.parser.ParseException" class="title">Uses of Class<br>org.apache.velocity.runtime.parser.ParseException</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.velocity.exception">org.apache.velocity.exception</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.velocity.runtime">org.apache.velocity.runtime</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.velocity.runtime.directive">org.apache.velocity.runtime.directive</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.velocity.runtime.directive.contrib">org.apache.velocity.runtime.directive.contrib</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.velocity.runtime.parser">org.apache.velocity.runtime.parser</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.velocity.exception">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a> in <a href="../../../../../../org/apache/velocity/exception/package-summary.html">org.apache.velocity.exception</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../../org/apache/velocity/exception/package-summary.html">org.apache.velocity.exception</a> with parameters of type <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/exception/ParseErrorException.html#ParseErrorException-org.apache.velocity.runtime.parser.ParseException-java.lang.String-">ParseErrorException</a></span>(<a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a>&nbsp;pex,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templName)</code>
<div class="block">Create a ParseErrorException with the given ParseException.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/exception/TemplateInitException.html#TemplateInitException-java.lang.String-org.apache.velocity.runtime.parser.ParseException-java.lang.String:A-java.lang.String-int-int-">TemplateInitException</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg,
<a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a>&nbsp;parseException,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;stacktrace,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName,
int&nbsp;col,
int&nbsp;line)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/exception/TemplateInitException.html#TemplateInitException-java.lang.String-org.apache.velocity.runtime.parser.ParseException-java.lang.String-int-int-">TemplateInitException</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg,
<a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a>&nbsp;parseException,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName,
int&nbsp;col,
int&nbsp;line)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.velocity.runtime">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a> in <a href="../../../../../../org/apache/velocity/runtime/package-summary.html">org.apache.velocity.runtime</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/velocity/runtime/package-summary.html">org.apache.velocity.runtime</a> that throw <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/velocity/runtime/parser/node/SimpleNode.html" title="class in org.apache.velocity.runtime.parser.node">SimpleNode</a></code></td>
<td class="colLast"><span class="typeNameLabel">RuntimeSingleton.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/RuntimeSingleton.html#parse-java.io.Reader-org.apache.velocity.Template-">parse</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;reader,
<a href="../../../../../../org/apache/velocity/Template.html" title="class in org.apache.velocity">Template</a>&nbsp;template)</code>
<div class="block">Parse the input and return the root of
AST node structure.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/velocity/runtime/parser/node/SimpleNode.html" title="class in org.apache.velocity.runtime.parser.node">SimpleNode</a></code></td>
<td class="colLast"><span class="typeNameLabel">RuntimeServices.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/RuntimeServices.html#parse-java.io.Reader-org.apache.velocity.Template-">parse</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;reader,
<a href="../../../../../../org/apache/velocity/Template.html" title="class in org.apache.velocity">Template</a>&nbsp;template)</code>
<div class="block">Parse the input and return the root of
AST node structure.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/velocity/runtime/parser/node/SimpleNode.html" title="class in org.apache.velocity.runtime.parser.node">SimpleNode</a></code></td>
<td class="colLast"><span class="typeNameLabel">RuntimeInstance.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/RuntimeInstance.html#parse-java.io.Reader-org.apache.velocity.Template-">parse</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;reader,
<a href="../../../../../../org/apache/velocity/Template.html" title="class in org.apache.velocity">Template</a>&nbsp;template)</code>
<div class="block">Parse the input and return the root of
AST node structure.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.velocity.runtime.directive">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a> in <a href="../../../../../../org/apache/velocity/runtime/directive/package-summary.html">org.apache.velocity.runtime.directive</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a> in <a href="../../../../../../org/apache/velocity/runtime/directive/package-summary.html">org.apache.velocity.runtime.directive</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/directive/MacroParseException.html" title="class in org.apache.velocity.runtime.directive">MacroParseException</a></span></code>
<div class="block">Exception to indicate problem happened while constructing #macro()
For internal use in parser - not to be passed to app level</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/velocity/runtime/directive/package-summary.html">org.apache.velocity.runtime.directive</a> that throw <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Stop.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/directive/Stop.html#checkArgs-java.util.ArrayList-org.apache.velocity.runtime.parser.Token-java.lang.String-">checkArgs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;argtypes,
<a href="../../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</a>&nbsp;t,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName)</code>
<div class="block">Called by the parser to check the argument types</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Parse.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/directive/Parse.html#checkArgs-java.util.ArrayList-org.apache.velocity.runtime.parser.Token-java.lang.String-">checkArgs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;argtypes,
<a href="../../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</a>&nbsp;t,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName)</code>
<div class="block">Called by the parser to validate the argument types</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Macro.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/directive/Macro.html#checkArgs-java.util.ArrayList-org.apache.velocity.runtime.parser.Token-java.lang.String-">checkArgs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;argtypes,
<a href="../../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</a>&nbsp;t,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName)</code>
<div class="block">Check the argument types of a macro call, called by the parser to do validation</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Foreach.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/directive/Foreach.html#checkArgs-java.util.ArrayList-org.apache.velocity.runtime.parser.Token-java.lang.String-">checkArgs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;argtypes,
<a href="../../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</a>&nbsp;t,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName)</code>
<div class="block">We do not allow a word token in any other arg position except for the 2nd since
we are looking for the pattern #foreach($foo in $bar).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Directive.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/directive/Directive.html#checkArgs-java.util.ArrayList-org.apache.velocity.runtime.parser.Token-java.lang.String-">checkArgs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;argtypes,
<a href="../../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</a>&nbsp;t,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName)</code>
<div class="block">The Parser calls this method during template parsing to check the arguments
types.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Define.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/directive/Define.html#checkArgs-java.util.ArrayList-org.apache.velocity.runtime.parser.Token-java.lang.String-">checkArgs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;argtypes,
<a href="../../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</a>&nbsp;t,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName)</code>
<div class="block">Called by the parser to validate the argument types</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Break.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/directive/Break.html#checkArgs-java.util.ArrayList-org.apache.velocity.runtime.parser.Token-java.lang.String-">checkArgs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;argtypes,
<a href="../../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</a>&nbsp;t,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName)</code>
<div class="block">Called by the parser to validate the argument types</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.velocity.runtime.directive.contrib">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a> in <a href="../../../../../../org/apache/velocity/runtime/directive/contrib/package-summary.html">org.apache.velocity.runtime.directive.contrib</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/velocity/runtime/directive/contrib/package-summary.html">org.apache.velocity.runtime.directive.contrib</a> that throw <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">For.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/directive/contrib/For.html#checkArgs-java.util.ArrayList-org.apache.velocity.runtime.parser.Token-java.lang.String-">checkArgs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;argtypes,
<a href="../../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</a>&nbsp;t,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;templateName)</code>
<div class="block">We do not allow a word token in any other arg position except for the 2nd
since we are looking for the pattern #foreach($foo in $bar).</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.velocity.runtime.parser">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a> in <a href="../../../../../../org/apache/velocity/runtime/parser/package-summary.html">org.apache.velocity.runtime.parser</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a> in <a href="../../../../../../org/apache/velocity/runtime/parser/package-summary.html">org.apache.velocity.runtime.parser</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/TemplateParseException.html" title="class in org.apache.velocity.runtime.parser">TemplateParseException</a></span></code>
<div class="block">This is an extension of the ParseException, which also takes a
template name.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/velocity/runtime/parser/package-summary.html">org.apache.velocity.runtime.parser</a> that return <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a></code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#generateParseException--">generateParseException</a></span>()</code>
<div class="block">Generate ParseException.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/velocity/runtime/parser/package-summary.html">org.apache.velocity.runtime.parser</a> that throw <a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">ParseException</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#AdditiveExpression--">AdditiveExpression</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Assignment--">Assignment</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Comment--">Comment</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#ConditionalAndExpression--">ConditionalAndExpression</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#ConditionalOrExpression--">ConditionalOrExpression</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Directive-boolean-">Directive</a></span>(boolean&nbsp;afterNewline)</code>
<div class="block">Supports the Pluggable Directives
#foo( arg+ )</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#DirectiveArg--">DirectiveArg</a></span>()</code>
<div class="block">Supports the arguments for the Pluggable Directives</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#DirectiveAssign--">DirectiveAssign</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/velocity/runtime/parser/node/ASTBlock.html" title="class in org.apache.velocity.runtime.parser.node">ASTBlock</a></code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#ElseIfStatement-org.apache.velocity.runtime.parser.node.ASTBlock-boolean-">ElseIfStatement</a></span>(<a href="../../../../../../org/apache/velocity/runtime/parser/node/ASTBlock.html" title="class in org.apache.velocity.runtime.parser.node">ASTBlock</a>&nbsp;previousBlock,
boolean&nbsp;afterNewline)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/velocity/runtime/parser/node/ASTBlock.html" title="class in org.apache.velocity.runtime.parser.node">ASTBlock</a></code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#ElseStatement-org.apache.velocity.runtime.parser.node.ASTBlock-boolean-">ElseStatement</a></span>(<a href="../../../../../../org/apache/velocity/runtime/parser/node/ASTBlock.html" title="class in org.apache.velocity.runtime.parser.node">ASTBlock</a>&nbsp;previousBlock,
boolean&nbsp;afterNewline)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#EndingZeroWidthWhitespace--">EndingZeroWidthWhitespace</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#EqualityExpression--">EqualityExpression</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Escape--">Escape</a></span>()</code>
<div class="block">Used to catch and process escape sequences in grammatical constructs
as escapes outside of VTL are just characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#EscapedDirective--">EscapedDirective</a></span>()</code>
<div class="block">used to separate the notion of a valid directive that has been
escaped, versus something that looks like a directive and
is just schmoo.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Expression--">Expression</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#False--">False</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#FloatingPointLiteral--">FloatingPointLiteral</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Identifier--">Identifier</a></span>()</code>
<div class="block">This method corresponds to variable
references in Velocity templates.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#IfStatement-boolean-">IfStatement</a></span>(boolean&nbsp;afterNewline)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Index--">Index</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#IndexParameter--">IndexParameter</a></span>()</code>
<div class="block">A Simplified parameter more suitable for an index position: $foo[$index]</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#IntegerLiteral--">IntegerLiteral</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#IntegerRange--">IntegerRange</a></span>()</code>
<div class="block">supports the [n..m] vector generator for use in
the #foreach() to generate measured ranges w/o
needing explicit support from the app/servlet</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Map--">Map</a></span>()</code>
<div class="block">for creating a map in a #set
#set($foo = {$foo : $bar, $blargh : $thingy})</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Method--">Method</a></span>()</code>
<div class="block">This method has yet to be fully implemented
but will allow arbitrarily nested method
calls</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#MultiplicativeExpression--">MultiplicativeExpression</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#ObjectArray--">ObjectArray</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Parameter--">Parameter</a></span>()</code>
<div class="block">This method has yet to be fully implemented
but will allow arbitrarily nested method
calls</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/velocity/runtime/parser/node/SimpleNode.html" title="class in org.apache.velocity.runtime.parser.node">SimpleNode</a></code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#parse-java.io.Reader-org.apache.velocity.Template-">parse</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;reader,
<a href="../../../../../../org/apache/velocity/Template.html" title="class in org.apache.velocity">Template</a>&nbsp;template)</code>
<div class="block">This was also added to allow parsers to be
re-usable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/velocity/runtime/parser/node/SimpleNode.html" title="class in org.apache.velocity.runtime.parser.node">SimpleNode</a></code></td>
<td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/Parser.html#parse-java.io.Reader-org.apache.velocity.Template-">parse</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;reader,
<a href="../../../../../../org/apache/velocity/Template.html" title="class in org.apache.velocity">Template</a>&nbsp;template)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#PrimaryExpression--">PrimaryExpression</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/velocity/runtime/parser/node/SimpleNode.html" title="class in org.apache.velocity.runtime.parser.node">SimpleNode</a></code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#process--">process</a></span>()</code>
<div class="block">This method is what starts the whole parsing
process.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Reference--">Reference</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#RelationalExpression--">RelationalExpression</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#SetDirective-boolean-">SetDirective</a></span>(boolean&nbsp;afterNewline)</code>
<div class="block">Currently support both types of set :
#set( expr )
#set expr</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Statement-boolean-">Statement</a></span>(boolean&nbsp;afterNewline)</code>
<div class="block">These are the types of statements that
are acceptable in Velocity templates.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#StringLiteral--">StringLiteral</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Text--">Text</a></span>()</code>
<div class="block">This method is responsible for allowing
all non-grammar text to pass through
unscathed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Textblock--">Textblock</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#True--">True</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#UnaryExpression--">UnaryExpression</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/velocity/runtime/parser/StandardParser.html#Word--">Word</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../org/apache/velocity/runtime/parser/ParseException.html" title="class in org.apache.velocity.runtime.parser">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/velocity/runtime/parser/class-use/ParseException.html" target="_top">Frames</a></li>
<li><a href="ParseException.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2000&#x2013;2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>