Save This Page
Home » freemarker-2.3.13 » freemarker.core » [javadoc | source]
freemarker.core
abstract public class: Expression [javadoc | source]
java.lang.Object
   freemarker.core.TemplateObject
      freemarker.core.Expression

Direct Known Subclasses:
    sort_byBI, seq_index_ofBI, keysBI, last_index_ofBI, is_stringBI, ArithmeticExpression, ParentheticalExpression, SequenceBuiltIn, chop_linebreakBI, is_directiveBI, rootBI, ends_withBI, NotExpression, lastBI, firstBI, js_stringBI, j_stringBI, valuesBI, floatBI, replaceBI, is_macroBI, lengthBI, node_nameBI, is_hash_exBI, MethodCall, AddConcatExpression, childrenBI, floorBI, cap_firstBI, cBI, BooleanExpression, AndExpression, right_padBI, is_collectionBI, is_indexableBI, NewBI, evalBI, matchesBI, Dot, ListLiteral, dateBI, NodeBuiltIn, upper_caseBI, split_reBI, DefaultToExpression, stringBI, existsBI, OrExpression, containsBI, byteBI, replace_reBI, defaultBI, doubleBI, Interpret, substringBI, if_existsBI, BuiltIn, has_contentBI, HashLiteral, longBI, is_transformBI, UnaryPlusMinusExpression, groupsBI, starts_withBI, splitBI, sortBI, shortBI, parentBI, StringBuiltIn, intBI, ExistsExpression, sizeBI, seq_containsBI, is_booleanBI, namespaceBI, Identifier, node_typeBI, is_methodBI, is_hashBI, numberBI, Range, ComparisonExpression, ceilingBI, is_dateBI, BooleanLiteral, index_ofBI, is_nodeBI, roundBI, NumberBuiltIn, uncap_firstBI, node_namespaceBI, chunkBI, reverseBI, NumberLiteral, BuiltinVariable, lower_caseBI, StringLiteral, is_numberBI, ancestorsBI, is_sequenceBI, left_padBI, capitalizeBI, is_enumerableBI, DynamicKeyName, word_listBI

An abstract class for nodes in the parse tree that represent a FreeMarker expression.
Field Summary
 TemplateModel constantValue     
Fields inherited from freemarker.core.TemplateObject:
beginColumn,  beginLine,  endColumn,  endLine
Method from freemarker.core.Expression Summary:
_deepClone,   _getAsTemplateModel,   deepClone,   getAsTemplateModel,   getStringValue,   getStringValue,   isEmpty,   isLiteral,   isTrue,   setLocation
Methods from freemarker.core.TemplateObject:
assertNonNull,   contains,   copyLocationFrom,   getBeginColumn,   getBeginLine,   getCanonicalForm,   getEndColumn,   getEndLine,   getEndLocation,   getSource,   getStartLocation,   getTemplate,   invalidTypeException,   setLocation,   setLocation,   setLocation,   setLocation,   setLocation,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.core.Expression Detail:
 abstract Expression _deepClone(String name,
    Expression subst)
 abstract TemplateModel _getAsTemplateModel(Environment env) throws TemplateException
 Expression deepClone(String name,
    Expression subst) 
 public final TemplateModel getAsTemplateModel(Environment env) throws TemplateException 
 String getStringValue(Environment env) throws TemplateException 
 static String getStringValue(TemplateModel referentModel,
    Expression exp,
    Environment env) throws TemplateException 
 static boolean isEmpty(TemplateModel model) throws TemplateModelException 
 abstract boolean isLiteral()
 boolean isTrue(Environment env) throws TemplateException 
  void setLocation(Template template,
    int beginColumn,
    int beginLine,
    int endColumn,
    int endLine) throws ParseException