Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

AbstractResourceName - Class in au.com.codeka.carrot.resource
Abstract implementation of a ResourceName.
AbstractResourceName(ResourceName, String) - Constructor for class au.com.codeka.carrot.resource.AbstractResourceName
 
accept(TokenType...) - Method in class au.com.codeka.carrot.expr.Tokenizer
Returns true if the current token is and of the given TokenTypes.
accept(int, TokenType) - Method in class au.com.codeka.carrot.expr.Tokenizer
Returns true if the token at the given offset from the current is of the given TokenType.
AccessibleTerm - Interface in au.com.codeka.carrot.expr.accessible
 
AccessOperator - Class in au.com.codeka.carrot.expr.accessible
The accessor operator like in a.b or a[b].
AccessOperator() - Constructor for class au.com.codeka.carrot.expr.accessible.AccessOperator
 
AccessTerm - Class in au.com.codeka.carrot.expr.accessible
A binary Term.
AccessTerm(AccessibleTerm, AccessOperator, Term, TokenType) - Constructor for class au.com.codeka.carrot.expr.accessible.AccessTerm
 
AccessTermParser - Class in au.com.codeka.carrot.expr.accessible
A parser for access Terms.
AccessTermParser(TermParser, TermParser, TermParser) - Constructor for class au.com.codeka.carrot.expr.accessible.AccessTermParser
 
add(String, String) - Method in class au.com.codeka.carrot.resource.MemoryResourceLocator.Builder
 
add(String, Class<? extends Tag>) - Method in class au.com.codeka.carrot.TagRegistry.Builder
 
add(TagRegistry.TagMatcher, Class<? extends Tag>) - Method in class au.com.codeka.carrot.TagRegistry.Builder
 
add(Node) - Method in class au.com.codeka.carrot.tmpl.Node
Add the given Node to our list of children.
add(Object, Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Adds the two values together.
addNode(ResourceName, Node) - Method in class au.com.codeka.carrot.ParseCache
 
AddOperator - Class in au.com.codeka.carrot.expr.binary
The binary ADDITION operator like in a + b.
AddOperator() - Constructor for class au.com.codeka.carrot.expr.binary.AddOperator
 
AndOperator - Class in au.com.codeka.carrot.expr.binary
The binary boolean AND operator like in a &amp;&amp; b.
AndOperator() - Constructor for class au.com.codeka.carrot.expr.binary.AndOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.accessible.AccessOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.AddOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.AndOperator
 
apply(Object, Lazy) - Method in interface au.com.codeka.carrot.expr.binary.BinaryOperator
Applies the binary operator to the given operands.
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.Complement
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.DivOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.ElvisOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.EqOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.GreaterOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.InOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.IterationOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.LessOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.MulOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.OrOperator
 
apply(Object, Lazy) - Method in class au.com.codeka.carrot.expr.binary.SubOperator
 
apply(Object, Lazy, Lazy) - Method in class au.com.codeka.carrot.expr.ternary.ComparisonOperator
 
apply(Object, Lazy, Lazy) - Method in interface au.com.codeka.carrot.expr.ternary.TernaryOperator
Applies the binary operator to the given operands.
apply(Object) - Method in class au.com.codeka.carrot.expr.unary.MinusOperator
 
apply(Object) - Method in class au.com.codeka.carrot.expr.unary.NotOperator
 
apply(Object) - Method in class au.com.codeka.carrot.expr.unary.PlusOperator
 
apply(Object) - Method in interface au.com.codeka.carrot.expr.unary.UnaryOperator
 
au.com.codeka.carrot - package au.com.codeka.carrot
 
au.com.codeka.carrot.bindings - package au.com.codeka.carrot.bindings
 
au.com.codeka.carrot.expr - package au.com.codeka.carrot.expr
 
au.com.codeka.carrot.expr.accessible - package au.com.codeka.carrot.expr.accessible
 
au.com.codeka.carrot.expr.binary - package au.com.codeka.carrot.expr.binary
 
au.com.codeka.carrot.expr.ternary - package au.com.codeka.carrot.expr.ternary
 
au.com.codeka.carrot.expr.unary - package au.com.codeka.carrot.expr.unary
 
au.com.codeka.carrot.expr.values - package au.com.codeka.carrot.expr.values
 
au.com.codeka.carrot.helpers - package au.com.codeka.carrot.helpers
 
au.com.codeka.carrot.resource - package au.com.codeka.carrot.resource
 
au.com.codeka.carrot.tag - package au.com.codeka.carrot.tag
 
au.com.codeka.carrot.tmpl - package au.com.codeka.carrot.tmpl
 
au.com.codeka.carrot.tmpl.parse - package au.com.codeka.carrot.tmpl.parse
 
au.com.codeka.carrot.util - package au.com.codeka.carrot.util
 

B

BinaryOperator - Interface in au.com.codeka.carrot.expr.binary
A generic binary operator.
binaryOperator() - Method in enum au.com.codeka.carrot.expr.TokenType
 
BinaryTerm - Class in au.com.codeka.carrot.expr.binary
A binary Term.
BinaryTerm(Term, BinaryOperator, Term) - Constructor for class au.com.codeka.carrot.expr.binary.BinaryTerm
 
BinaryTermParser - Class in au.com.codeka.carrot.expr.binary
A factory for binary Terms.
BinaryTermParser(TermParser, TokenType...) - Constructor for class au.com.codeka.carrot.expr.binary.BinaryTermParser
 
Bindings - Interface in au.com.codeka.carrot
The Bindings of a template when rendered.
BlockTag - Class in au.com.codeka.carrot.tag
The {% block %} tag is used in conjunction with {% extends %}.
BlockTag() - Constructor for class au.com.codeka.carrot.tag.BlockTag
 
build() - Method in class au.com.codeka.carrot.bindings.MapBindings.Builder
 
build() - Method in class au.com.codeka.carrot.Configuration.Builder
 
build(Configuration) - Method in class au.com.codeka.carrot.resource.FileResourceLocator.Builder
 
build(Configuration) - Method in class au.com.codeka.carrot.resource.MemoryResourceLocator.Builder
 
build(Configuration) - Method in interface au.com.codeka.carrot.resource.ResourceLocator.Builder
 
build(Configuration) - Method in class au.com.codeka.carrot.TagRegistry.Builder
 
Builder() - Constructor for class au.com.codeka.carrot.bindings.MapBindings.Builder
 
Builder() - Constructor for class au.com.codeka.carrot.Configuration.Builder
 
Builder() - Constructor for class au.com.codeka.carrot.resource.FileResourceLocator.Builder
 
Builder(String) - Constructor for class au.com.codeka.carrot.resource.FileResourceLocator.Builder
 
Builder() - Constructor for class au.com.codeka.carrot.resource.MemoryResourceLocator.Builder
 
Builder(Map<String, String>) - Constructor for class au.com.codeka.carrot.resource.MemoryResourceLocator.Builder
 
Builder() - Constructor for class au.com.codeka.carrot.TagRegistry.Builder
 

C

call(Iterable<Object>) - Method in interface au.com.codeka.carrot.expr.accessible.Callable
Calls the Callable with the given parameters.
callable(Configuration, Scope) - Method in interface au.com.codeka.carrot.expr.accessible.AccessibleTerm
 
callable(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.accessible.AccessTerm
 
Callable - Interface in au.com.codeka.carrot.expr.accessible
A function or method which can be called with an Iterable of parameters.
callable(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.accessible.Inaccessible
 
canChain(Tag) - Method in class au.com.codeka.carrot.tag.ElseTag
Return true if we can chain to the given next Tag.
canChain(Tag) - Method in class au.com.codeka.carrot.tag.ForTag
Return true if we can chain to the given next Tag.
canChain(Tag) - Method in class au.com.codeka.carrot.tag.IfTag
Return true if we can chain to the given next Tag.
canChain(Tag) - Method in class au.com.codeka.carrot.tag.Tag
Return true if we can chain to the given next Tag.
canChain(Node) - Method in class au.com.codeka.carrot.tmpl.Node
Checks whether this Node can chain to the given node.
canChain(Node) - Method in class au.com.codeka.carrot.tmpl.TagNode
 
CarrotEngine - Class in au.com.codeka.carrot
CarrotEngine is the root of the carrot system.
CarrotEngine(Configuration) - Constructor for class au.com.codeka.carrot.CarrotEngine
Constructs a new CarrotEngine with the given Configuration.
CarrotEngine(Configuration, MapBindings.Builder) - Constructor for class au.com.codeka.carrot.CarrotEngine
Constructs a new CarrotEngine with the given Configuration and initial set of global bindings.
CarrotException - Exception in au.com.codeka.carrot
All exceptions thrown by carrot are subclasses of this exception.
CarrotException(String) - Constructor for exception au.com.codeka.carrot.CarrotException
 
CarrotException(Exception) - Constructor for exception au.com.codeka.carrot.CarrotException
 
CarrotException(Exception, ResourcePointer) - Constructor for exception au.com.codeka.carrot.CarrotException
 
CarrotException(String, Exception) - Constructor for exception au.com.codeka.carrot.CarrotException
 
CarrotException(String, ResourcePointer) - Constructor for exception au.com.codeka.carrot.CarrotException
 
chain(Node) - Method in class au.com.codeka.carrot.tmpl.Node
Chain to the given next Node.
checkNotNull(T) - Static method in class au.com.codeka.carrot.util.Preconditions
 
checkState(boolean) - Static method in class au.com.codeka.carrot.util.Preconditions
 
closingType() - Method in enum au.com.codeka.carrot.expr.TokenType
 
CollectionHelper - Class in au.com.codeka.carrot.util
 
CollectionHelper() - Constructor for class au.com.codeka.carrot.util.CollectionHelper
 
compare(Object, Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Performs a numerical comparison on the two operands (assuming they are both convertible to numbers).
ComparisonOperator - Class in au.com.codeka.carrot.expr.ternary
 
ComparisonOperator() - Constructor for class au.com.codeka.carrot.expr.ternary.ComparisonOperator
 
Complement - Class in au.com.codeka.carrot.expr.binary
The boolean complement operator of another BinaryOperator.
Complement(BinaryOperator) - Constructor for class au.com.codeka.carrot.expr.binary.Complement
 
Composite - Class in au.com.codeka.carrot.bindings
Composite Bindings which combines the values of other Bindings into one.
Composite(Bindings...) - Constructor for class au.com.codeka.carrot.bindings.Composite
 
Composite(Iterable<Bindings>) - Constructor for class au.com.codeka.carrot.bindings.Composite
 
Configuration - Class in au.com.codeka.carrot
The Configuration is used to configure various aspects of the carrot engine.
Configuration.Builder - Class in au.com.codeka.carrot
 
Configuration.Logger - Interface in au.com.codeka.carrot
 
create(Token) - Static method in class au.com.codeka.carrot.tmpl.FixedNode
 
create(TokenType, String) - Static method in class au.com.codeka.carrot.tmpl.parse.Token
Create a new Token.
create(TokenType, String, ResourcePointer) - Static method in class au.com.codeka.carrot.tmpl.parse.Token
Create a new Token.
create(TokenType, StringBuilder) - Method in interface au.com.codeka.carrot.tmpl.parse.TokenFactory
 
create(Token, Configuration) - Static method in class au.com.codeka.carrot.tmpl.TagNode
Creates a TagNode for the given Token.
createEcho(Token, Configuration) - Static method in class au.com.codeka.carrot.tmpl.TagNode
Creates a special TagNode for an echo token.
createTag(String) - Method in class au.com.codeka.carrot.TagRegistry
 

D

debug(Configuration, String, Object...) - Static method in class au.com.codeka.carrot.util.Log
 
divide(Object, Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Divides the left hand side by the right hand side, and returns the result.
DivOperator - Class in au.com.codeka.carrot.expr.binary
The binary DIVISION operator like in a / b.
DivOperator() - Constructor for class au.com.codeka.carrot.expr.binary.DivOperator
 

E

EchoTag - Class in au.com.codeka.carrot.tag
Echo tag just echos the results of it's single parameter.
EchoTag() - Constructor for class au.com.codeka.carrot.tag.EchoTag
 
ElseTag - Class in au.com.codeka.carrot.tag
The ElseTag can be chained with IfTag or ForTag to contain the "else" block.
ElseTag() - Constructor for class au.com.codeka.carrot.tag.ElseTag
 
ElvisOperator - Class in au.com.codeka.carrot.expr.binary
The "elvis" operator, '?:'.
ElvisOperator() - Constructor for class au.com.codeka.carrot.expr.binary.ElvisOperator
 
EmptyBindings - Class in au.com.codeka.carrot.bindings
Bindings without any values.
EmptyBindings() - Constructor for class au.com.codeka.carrot.bindings.EmptyBindings
 
EmptyTerm - Class in au.com.codeka.carrot.expr
An empty Term.
EmptyTerm() - Constructor for class au.com.codeka.carrot.expr.EmptyTerm
 
EmptyTermParser - Class in au.com.codeka.carrot.expr.values
A TermParser which doesn't really parse anything, but always returns an EmptyTerm.
EmptyTermParser() - Constructor for class au.com.codeka.carrot.expr.values.EmptyTermParser
 
end() - Method in class au.com.codeka.carrot.expr.Tokenizer
 
EndTag - Class in au.com.codeka.carrot.tag
The "end" tag, for all tags that end blocks.
EndTag() - Constructor for class au.com.codeka.carrot.tag.EndTag
 
EntryBindings - Class in au.com.codeka.carrot.bindings
Bindings for Map.Entry.
EntryBindings(String, Object) - Constructor for class au.com.codeka.carrot.bindings.EntryBindings
 
EntryBindings(Map.Entry<String, Object>) - Constructor for class au.com.codeka.carrot.bindings.EntryBindings
 
EqOperator - Class in au.com.codeka.carrot.expr.binary
The binary EQUALS operator like in a == b.
EqOperator() - Constructor for class au.com.codeka.carrot.expr.binary.EqOperator
 
equals(Object) - Method in class au.com.codeka.carrot.expr.Token
 
equals(Object) - Method in class au.com.codeka.carrot.tmpl.parse.Token
 
ErrorTermParser - Class in au.com.codeka.carrot.expr.values
A TermParser which doesn't really parse anything, but always throws a CarrotException.
ErrorTermParser() - Constructor for class au.com.codeka.carrot.expr.values.ErrorTermParser
 
escape(String) - Method in class au.com.codeka.carrot.helpers.HtmlHelper
Escape the HTML.
escape(SafeString) - Method in class au.com.codeka.carrot.helpers.HtmlHelper
Escape the HTML.
escape(Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Performs HTML-escaping of the given value.
evaluate(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.accessible.AccessTerm
 
evaluate(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.accessible.Inaccessible
 
evaluate(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.accessible.MethodTerm
 
evaluate(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.binary.BinaryTerm
 
evaluate(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.binary.IterationTerm
 
evaluate(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.EmptyTerm
 
evaluate() - Method in class au.com.codeka.carrot.expr.Identifier
 
evaluate(Configuration, Scope) - Method in interface au.com.codeka.carrot.expr.Term
 
evaluate(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.ternary.TernaryTerm
 
evaluate(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.unary.UnaryTerm
 
evaluate(Configuration, Scope) - Method in class au.com.codeka.carrot.expr.values.Variable
 
expect(TokenType...) - Method in class au.com.codeka.carrot.expr.Tokenizer
Returns a Token if it's one of the given types, or throws a CarrotException if it's not.
ExpressionTermParser - Class in au.com.codeka.carrot.expr.values
A TermParser which parses an expression Term in parenthesis or delegates to another parser if there is no opening parenthesis.
ExpressionTermParser(TermParser, TermParser) - Constructor for class au.com.codeka.carrot.expr.values.ExpressionTermParser
extendCurrent(Bindings) - Method in class au.com.codeka.carrot.Scope
Extend the current bindings with the given one.
ExtendsTag - Class in au.com.codeka.carrot.tag
The "extends" tag is used to base one template off of another one.
ExtendsTag() - Constructor for class au.com.codeka.carrot.tag.ExtendsTag
 

F

FileResourceLocator - Class in au.com.codeka.carrot.resource
An implementation of ResourceLocator that loads files from the file system.
FileResourceLocator(Configuration, String) - Constructor for class au.com.codeka.carrot.resource.FileResourceLocator
Constructs a new FileResourceLocator using the given Configuration and base path to search for resources in.
FileResourceLocator.Builder - Class in au.com.codeka.carrot.resource
A builder for FileResourceLocator.
findResource(ResourceName, String) - Method in class au.com.codeka.carrot.resource.FileResourceLocator
 
findResource(String) - Method in class au.com.codeka.carrot.resource.FileResourceLocator
 
findResource(ResourceName, String) - Method in class au.com.codeka.carrot.resource.MemoryResourceLocator
 
findResource(String) - Method in class au.com.codeka.carrot.resource.MemoryResourceLocator
 
findResource(ResourceName, String) - Method in interface au.com.codeka.carrot.resource.ResourceLocator
Searches for a resource with the given name, returns the full path to it.
findResource(String) - Method in interface au.com.codeka.carrot.resource.ResourceLocator
Searches for a resource with the given name, returns the full path to it.
FixedNode - Class in au.com.codeka.carrot.tmpl
A FixedNode represents the text outside of the {% ...
ForTag - Class in au.com.codeka.carrot.tag
The "for" tag iterates through a loop and execute it's black for each element0.
ForTag() - Constructor for class au.com.codeka.carrot.tag.ForTag
 

G

getAutoEscape() - Method in class au.com.codeka.carrot.Configuration
 
getBlockName(CarrotEngine, Scope) - Method in class au.com.codeka.carrot.tag.BlockTag
 
getChildren() - Method in class au.com.codeka.carrot.tmpl.Node
 
getConfig() - Method in class au.com.codeka.carrot.CarrotEngine
 
getContent() - Method in class au.com.codeka.carrot.tmpl.FixedNode
 
getContent() - Method in class au.com.codeka.carrot.tmpl.parse.Token
 
getEncoding() - Method in class au.com.codeka.carrot.Configuration
 
getGlobalBindings() - Method in class au.com.codeka.carrot.CarrotEngine
 
getLineNo() - Method in class au.com.codeka.carrot.resource.ResourcePointer
 
getLogger() - Method in class au.com.codeka.carrot.Configuration
 
getModifiedTime(ResourceName) - Method in class au.com.codeka.carrot.resource.FileResourceLocator
 
getModifiedTime(ResourceName) - Method in class au.com.codeka.carrot.resource.MemoryResourceLocator
 
getModifiedTime(ResourceName) - Method in interface au.com.codeka.carrot.resource.ResourceLocator
Gets a value which indicates when the resource was modified.
getName() - Method in class au.com.codeka.carrot.resource.AbstractResourceName
 
getName() - Method in interface au.com.codeka.carrot.resource.ResourceName
 
getNextNode() - Method in class au.com.codeka.carrot.tmpl.Node
 
getNextToken() - Method in class au.com.codeka.carrot.tmpl.parse.Tokenizer
Gets the next token from the stream, or null if there's no tokens left.
getNode(ResourceName) - Method in class au.com.codeka.carrot.ParseCache
 
getParent() - Method in interface au.com.codeka.carrot.resource.ResourceName
 
getPointer() - Method in exception au.com.codeka.carrot.CarrotException
 
getPointer() - Method in class au.com.codeka.carrot.tmpl.Node
 
getPointer() - Method in class au.com.codeka.carrot.tmpl.parse.Token
 
getPointer() - Method in class au.com.codeka.carrot.tmpl.parse.Tokenizer
 
getPointer() - Method in class au.com.codeka.carrot.util.LineReader
 
getReader(ResourceName) - Method in class au.com.codeka.carrot.resource.FileResourceLocator
 
getReader(ResourceName) - Method in class au.com.codeka.carrot.resource.MemoryResourceLocator
 
getReader(ResourceName) - Method in interface au.com.codeka.carrot.resource.ResourceLocator
Gets a Reader to read the contents of the given resource.
getResourceLocator() - Method in class au.com.codeka.carrot.Configuration
 
getTag() - Method in class au.com.codeka.carrot.tmpl.TagNode
 
getTagRegistry() - Method in class au.com.codeka.carrot.Configuration
 
getType() - Method in class au.com.codeka.carrot.expr.Token
 
getType() - Method in class au.com.codeka.carrot.tmpl.parse.Token
 
getValue() - Method in class au.com.codeka.carrot.expr.Token
 
GreaterOperator - Class in au.com.codeka.carrot.expr.binary
The binary GREATER THAN operator like in a &gt; b.
GreaterOperator() - Constructor for class au.com.codeka.carrot.expr.binary.GreaterOperator
 

H

hashCode() - Method in class au.com.codeka.carrot.expr.Token
 
hashCode() - Method in class au.com.codeka.carrot.tmpl.parse.Token
 
hasValue() - Method in enum au.com.codeka.carrot.expr.TokenType
 
HtmlHelper - Class in au.com.codeka.carrot.helpers
Registered in the global Scope as "html", contains a bunch of functions you can call from your script related to HTML and HTML processing.
HtmlHelper() - Constructor for class au.com.codeka.carrot.helpers.HtmlHelper
 

I

Identifier - Class in au.com.codeka.carrot.expr
An Identifier.
Identifier(Token) - Constructor for class au.com.codeka.carrot.expr.Identifier
 
IdentifierTermParser - Class in au.com.codeka.carrot.expr.values
A TermParser which parses an identifier Term or delegates to another parser if there is no identifier.
IdentifierTermParser(TermParser) - Constructor for class au.com.codeka.carrot.expr.values.IdentifierTermParser
 
IfTag - Class in au.com.codeka.carrot.tag
The "if" tag evaluates it's single parameter and outputs it's children if true.
IfTag() - Constructor for class au.com.codeka.carrot.tag.IfTag
 
Inaccessible - Class in au.com.codeka.carrot.expr.accessible
An AccessibleTerm which can not be accessed.
Inaccessible(Term) - Constructor for class au.com.codeka.carrot.expr.accessible.Inaccessible
 
IncludeTag - Class in au.com.codeka.carrot.tag
The "include" tag is used to include the contents of another template.
IncludeTag() - Constructor for class au.com.codeka.carrot.tag.IncludeTag
 
info(Configuration, String, Object...) - Static method in class au.com.codeka.carrot.util.Log
 
InOperator - Class in au.com.codeka.carrot.expr.binary
The binary IN operator like in a in list.
InOperator() - Constructor for class au.com.codeka.carrot.expr.binary.InOperator
 
INSTANCE - Static variable in class au.com.codeka.carrot.expr.EmptyTerm
 
isAssignment() - Method in class au.com.codeka.carrot.expr.StatementParser
 
isBlockNode() - Method in class au.com.codeka.carrot.tmpl.Node
 
isBlockTag() - Method in class au.com.codeka.carrot.tag.BlockTag
 
isBlockTag() - Method in class au.com.codeka.carrot.tag.ElseTag
 
isBlockTag() - Method in class au.com.codeka.carrot.tag.ExtendsTag
 
isBlockTag() - Method in class au.com.codeka.carrot.tag.ForTag
 
isBlockTag() - Method in class au.com.codeka.carrot.tag.IfTag
 
isBlockTag() - Method in class au.com.codeka.carrot.tag.SetTag
 
isBlockTag() - Method in class au.com.codeka.carrot.tag.Tag
 
isEmpty() - Method in class au.com.codeka.carrot.bindings.Composite
 
isEmpty() - Method in class au.com.codeka.carrot.bindings.EmptyBindings
 
isEmpty() - Method in class au.com.codeka.carrot.bindings.EntryBindings
 
isEmpty() - Method in interface au.com.codeka.carrot.Bindings
Returns whether these Bindings contain any values.
isEmpty() - Method in class au.com.codeka.carrot.bindings.IterableExpansionBindings
 
isEmpty() - Method in class au.com.codeka.carrot.bindings.JsonArrayBindings
 
isEmpty() - Method in class au.com.codeka.carrot.bindings.JsonObjectBindings
 
isEmpty() - Method in class au.com.codeka.carrot.bindings.LoopVarBindings
 
isEmpty() - Method in class au.com.codeka.carrot.bindings.MapBindings
 
isEmpty() - Method in class au.com.codeka.carrot.bindings.SingletonBindings
 
isEndBlock() - Method in class au.com.codeka.carrot.tmpl.TagNode
 
isEqual(Object, Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Tests the equality of the two given values.
isMatch(String) - Method in interface au.com.codeka.carrot.TagRegistry.TagMatcher
 
isTrue(Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Does the given value represent "true".
isWhitespace() - Method in class au.com.codeka.carrot.tmpl.FixedNode
 
IterableExpansionBindings - Class in au.com.codeka.carrot.bindings
Bindings which expand an Iterable into multiple variables (given in an Iterable as well).
IterableExpansionBindings(Iterable<Identifier>, Iterable<Object>) - Constructor for class au.com.codeka.carrot.bindings.IterableExpansionBindings
 
iterate(Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Convert the given value to a list of object, as if it were an iterable.
IterationOperator - Class in au.com.codeka.carrot.expr.binary
The binary ITERATION operator like in a, b.
IterationOperator() - Constructor for class au.com.codeka.carrot.expr.binary.IterationOperator
 
IterationTerm - Class in au.com.codeka.carrot.expr.binary
Adapter which makes the evaluated value of a Term Iterable.
IterationTerm(Term) - Constructor for class au.com.codeka.carrot.expr.binary.IterationTerm
 
iterator() - Method in class au.com.codeka.carrot.bindings.EmptyBindings
 
iterator() - Method in class au.com.codeka.carrot.bindings.EntryBindings
 
iterator() - Method in class au.com.codeka.carrot.bindings.JsonArrayBindings
 
iterator() - Method in class au.com.codeka.carrot.bindings.JsonObjectBindings
 
iterator() - Method in class au.com.codeka.carrot.bindings.MapBindings
 
iterator() - Method in class au.com.codeka.carrot.bindings.SingletonBindings
 

J

JsonArrayBindings - Class in au.com.codeka.carrot.bindings
Bindings based on the values in a JSONArray.
JsonArrayBindings(JSONArray) - Constructor for class au.com.codeka.carrot.bindings.JsonArrayBindings
 
jsonHelper(Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
 
JsonObjectBindings - Class in au.com.codeka.carrot.bindings
Bindings based on the values in a JSONObject.
JsonObjectBindings(JSONObject) - Constructor for class au.com.codeka.carrot.bindings.JsonObjectBindings
 

L

LaxIterationTermParser - Class in au.com.codeka.carrot.expr.binary
A factory for iterable Terms.
LaxIterationTermParser(TermParser) - Constructor for class au.com.codeka.carrot.expr.binary.LaxIterationTermParser
 
Lazy - Interface in au.com.codeka.carrot.expr
A value which is evaluated lazily on access.
LazyTerm - Class in au.com.codeka.carrot.expr
A Lazy Term which is evaluated on access.
LazyTerm(Configuration, Scope, Term) - Constructor for class au.com.codeka.carrot.expr.LazyTerm
 
LessOperator - Class in au.com.codeka.carrot.expr.binary
The binary LESS THAN operator like in a &lt; b.
LessOperator() - Constructor for class au.com.codeka.carrot.expr.binary.LessOperator
 
LEVEL_DEBUG - Static variable in interface au.com.codeka.carrot.Configuration.Logger
 
LEVEL_INFO - Static variable in interface au.com.codeka.carrot.Configuration.Logger
 
LEVEL_WARNING - Static variable in interface au.com.codeka.carrot.Configuration.Logger
 
LineReader - Class in au.com.codeka.carrot.util
A helper class that reads a Reader one line at a time, keeping track of the current line and colume via a ResourcePointer.
LineReader(ResourceName, Reader) - Constructor for class au.com.codeka.carrot.util.LineReader
 
LineReader(ResourcePointer, Reader) - Constructor for class au.com.codeka.carrot.util.LineReader
 
Log - Class in au.com.codeka.carrot.util
Helper for writing to the configured logger.
Log() - Constructor for class au.com.codeka.carrot.util.Log
 
LoopVarBindings - Class in au.com.codeka.carrot.bindings
Bindings of the loop variables of a for loop.
LoopVarBindings(int, int) - Constructor for class au.com.codeka.carrot.bindings.LoopVarBindings
 

M

MapBindings - Class in au.com.codeka.carrot.bindings
Bindings based on the content of a Map.
MapBindings(Map<String, Object>) - Constructor for class au.com.codeka.carrot.bindings.MapBindings
 
MapBindings.Builder - Class in au.com.codeka.carrot.bindings
 
maybeParseIdentifier() - Method in class au.com.codeka.carrot.expr.StatementParser
Tries to parse an identifier from the stream and returns it if we parsed it, otherwise returns null.
maybeParseIdentifierList() - Method in class au.com.codeka.carrot.expr.StatementParser
Attempts to parse an identifier list.
MemoryResourceLocator - Class in au.com.codeka.carrot.resource
A simple ResourceLocator that just keeps stuff in memory.
MemoryResourceLocator(Map<String, String>) - Constructor for class au.com.codeka.carrot.resource.MemoryResourceLocator
Constructs a new MemoryResourceLocator using the given Configuration and base path to search for resources in.
MemoryResourceLocator.Builder - Class in au.com.codeka.carrot.resource
A builder for MemoryResourceLocator.
MethodTerm - Class in au.com.codeka.carrot.expr.accessible
A method call Term.
MethodTerm(AccessibleTerm, Term) - Constructor for class au.com.codeka.carrot.expr.accessible.MethodTerm
 
MinusOperator - Class in au.com.codeka.carrot.expr.unary
The unary "-" operator like in -a.
MinusOperator() - Constructor for class au.com.codeka.carrot.expr.unary.MinusOperator
 
MulOperator - Class in au.com.codeka.carrot.expr.binary
The binary MULTIPLICATION operator like in a * b.
MulOperator() - Constructor for class au.com.codeka.carrot.expr.binary.MulOperator
 
multiply(Object, Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Multiplies the left hand side by the right hand side, and returns the result.

N

name - Variable in class au.com.codeka.carrot.resource.AbstractResourceName
 
negate(Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Returns the "negative" of the given value.
newBuilder() - Static method in class au.com.codeka.carrot.bindings.MapBindings
 
newBuilder() - Static method in class au.com.codeka.carrot.TagRegistry
 
nextChar() - Method in class au.com.codeka.carrot.util.LineReader
 
nextCol() - Method in class au.com.codeka.carrot.resource.ResourcePointer
 
nextLine(String) - Method in class au.com.codeka.carrot.resource.ResourcePointer
 
Node - Class in au.com.codeka.carrot.tmpl
Base class for nodes in the abstract syntax tree.
Node(ResourcePointer, boolean) - Constructor for class au.com.codeka.carrot.tmpl.Node
 
NotOperator - Class in au.com.codeka.carrot.expr.unary
The unary "Not" operator like in ! value.
NotOperator() - Constructor for class au.com.codeka.carrot.expr.unary.NotOperator
 
NumberTermParser - Class in au.com.codeka.carrot.expr.values
A TermParser which parses a constant number Term or delegates to another parser if there is no number.
NumberTermParser(TermParser) - Constructor for class au.com.codeka.carrot.expr.values.NumberTermParser
 

O

OrOperator - Class in au.com.codeka.carrot.expr.binary
The binary boolean OR operator like in a || b.
OrOperator() - Constructor for class au.com.codeka.carrot.expr.binary.OrOperator
 

P

parent - Variable in class au.com.codeka.carrot.resource.AbstractResourceName
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.accessible.AccessTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.binary.BinaryTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.binary.LaxIterationTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.binary.StrictIterationTermParser
 
parse(Tokenizer) - Method in interface au.com.codeka.carrot.expr.TermParser
Return the next Term from the given Tokenizer.
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.ternary.TernaryTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.unary.UnaryTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.values.EmptyTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.values.ErrorTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.values.ExpressionTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.values.IdentifierTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.values.NumberTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.expr.values.StringTermParser
 
parse(Tokenizer) - Method in class au.com.codeka.carrot.tmpl.TemplateParser
 
ParseCache - Class in au.com.codeka.carrot
Helper class used to cache parsed template files.
ParseCache(Configuration) - Constructor for class au.com.codeka.carrot.ParseCache
 
parseEnd() - Method in class au.com.codeka.carrot.expr.StatementParser
Parses the "end" of the statement.
parseIdentifier() - Method in class au.com.codeka.carrot.expr.StatementParser
 
parseIdentifierList() - Method in class au.com.codeka.carrot.expr.StatementParser
 
parseStatement(StatementParser) - Method in class au.com.codeka.carrot.tag.BlockTag
 
parseStatement(StatementParser) - Method in class au.com.codeka.carrot.tag.EchoTag
 
parseStatement(StatementParser) - Method in class au.com.codeka.carrot.tag.ElseTag
 
parseStatement(StatementParser) - Method in class au.com.codeka.carrot.tag.ExtendsTag
 
parseStatement(StatementParser) - Method in class au.com.codeka.carrot.tag.ForTag
 
parseStatement(StatementParser) - Method in class au.com.codeka.carrot.tag.IfTag
 
parseStatement(StatementParser) - Method in class au.com.codeka.carrot.tag.IncludeTag
 
parseStatement(StatementParser) - Method in class au.com.codeka.carrot.tag.SetTag
 
parseStatement(StatementParser) - Method in class au.com.codeka.carrot.tag.Tag
Parse the statement that appears after the tag in the markup.
parseTerm() - Method in class au.com.codeka.carrot.expr.StatementParser
 
parseTermsIterable() - Method in class au.com.codeka.carrot.expr.StatementParser
 
parseToken(TokenType) - Method in class au.com.codeka.carrot.expr.StatementParser
 
PlusOperator - Class in au.com.codeka.carrot.expr.unary
The unary "+" operator like in +1.
PlusOperator() - Constructor for class au.com.codeka.carrot.expr.unary.PlusOperator
 
pop() - Method in class au.com.codeka.carrot.Scope
Pop the most recent bindings off the stack.
Preconditions - Class in au.com.codeka.carrot.util
Similar to Guava's Preconditions class, just a bunch of helper methods for asserting our preconditions.
Preconditions() - Constructor for class au.com.codeka.carrot.util.Preconditions
 
print(int, String) - Method in interface au.com.codeka.carrot.Configuration.Logger
 
process(Writer, ResourceName, Scope) - Method in class au.com.codeka.carrot.CarrotEngine
Process the template with the given filename, writing the results to the given Writer.
process(Writer, String, Bindings) - Method in class au.com.codeka.carrot.CarrotEngine
Process the template with the given filename, writing the results to the given Writer.
process(String, Bindings) - Method in class au.com.codeka.carrot.CarrotEngine
Process the template with the given filename, and returns the result as a string.
push(Bindings) - Method in class au.com.codeka.carrot.Scope
Push the given bindings onto the stack.

R

render(CarrotEngine, Writer, TagNode, Scope) - Method in class au.com.codeka.carrot.tag.BlockTag
 
render(CarrotEngine, Writer, TagNode, Scope) - Method in class au.com.codeka.carrot.tag.EchoTag
 
render(CarrotEngine, Writer, TagNode, Scope) - Method in class au.com.codeka.carrot.tag.ElseTag
 
render(CarrotEngine, Writer, TagNode, Scope) - Method in class au.com.codeka.carrot.tag.ExtendsTag
 
render(CarrotEngine, Writer, TagNode, Scope) - Method in class au.com.codeka.carrot.tag.ForTag
 
render(CarrotEngine, Writer, TagNode, Scope) - Method in class au.com.codeka.carrot.tag.IfTag
 
render(CarrotEngine, Writer, TagNode, Scope) - Method in class au.com.codeka.carrot.tag.IncludeTag
 
render(CarrotEngine, Writer, TagNode, Scope) - Method in class au.com.codeka.carrot.tag.SetTag
 
render(CarrotEngine, Writer, TagNode, Scope) - Method in class au.com.codeka.carrot.tag.Tag
Render this Tag to the given Writer.
render(CarrotEngine, Writer, Scope) - Method in class au.com.codeka.carrot.tmpl.FixedNode
 
render(CarrotEngine, Writer, Scope) - Method in class au.com.codeka.carrot.tmpl.Node
Render this node to the given Writer.
render(CarrotEngine, Writer, Scope) - Method in class au.com.codeka.carrot.tmpl.RootNode
 
render(CarrotEngine, Writer, Scope) - Method in class au.com.codeka.carrot.tmpl.TagNode
 
renderChildren(CarrotEngine, Writer, Scope) - Method in class au.com.codeka.carrot.tmpl.Node
Render all of this Node's children to the given Writer.
resolve(String) - Method in class au.com.codeka.carrot.bindings.Composite
 
resolve(String) - Method in class au.com.codeka.carrot.bindings.EmptyBindings
 
resolve(String) - Method in class au.com.codeka.carrot.bindings.EntryBindings
 
resolve(String) - Method in class au.com.codeka.carrot.bindings.IterableExpansionBindings
 
resolve(String) - Method in class au.com.codeka.carrot.bindings.JsonArrayBindings
 
resolve(String) - Method in class au.com.codeka.carrot.bindings.JsonObjectBindings
 
resolve(String) - Method in class au.com.codeka.carrot.bindings.LoopVarBindings
 
resolve(String) - Method in class au.com.codeka.carrot.bindings.MapBindings
 
resolve(String) - Method in interface au.com.codeka.carrot.Bindings
Returns a value for the given key or null if no such key exists in these Bindings.
resolve(String) - Method in class au.com.codeka.carrot.bindings.SingletonBindings
 
resolve(String) - Method in class au.com.codeka.carrot.Scope
Resolve the given named variable from the stack of bindings, most recently-pushed to last.
ResourceLocator - Interface in au.com.codeka.carrot.resource
Used to resolve resource names to actual files.
ResourceLocator.Builder - Interface in au.com.codeka.carrot.resource
 
ResourceName - Interface in au.com.codeka.carrot.resource
The "name" of a resolved resource (usually a file, but not necessarily).
ResourcePointer - Class in au.com.codeka.carrot.resource
Represents a "pointer" into a resource, useful for debugging and so on (for example, for displaying the line number and column where there's an error).
ResourcePointer(ResourceName) - Constructor for class au.com.codeka.carrot.resource.ResourcePointer
 
ResourcePointer(ResourceName, String, int, int) - Constructor for class au.com.codeka.carrot.resource.ResourcePointer
 
RootNode - Class in au.com.codeka.carrot.tmpl
Special node that represents the root of the syntax tree.
RootNode(ResourcePointer) - Constructor for class au.com.codeka.carrot.tmpl.RootNode
 

S

safe(String) - Method in class au.com.codeka.carrot.helpers.HtmlHelper
Mark the given string as "safe" for direct outputting.
SafeString - Class in au.com.codeka.carrot.util
This is a wrapper class for strings that we know are "safe" to output withing HTML-escaping.
SafeString(String) - Constructor for class au.com.codeka.carrot.util.SafeString
 
Scope - Class in au.com.codeka.carrot
Scope is a collection of all the bindings that are active.
Scope(Bindings) - Constructor for class au.com.codeka.carrot.Scope
Create a new Scope, with the given initial set of "global" bindings.
separatorType() - Method in enum au.com.codeka.carrot.expr.TokenType
 
set(String, Object) - Method in class au.com.codeka.carrot.bindings.MapBindings.Builder
 
setAutoEscape(boolean) - Method in class au.com.codeka.carrot.Configuration.Builder
Sets whether or not you want to automatically escape all variable output.
setBasePath(String) - Method in class au.com.codeka.carrot.resource.FileResourceLocator.Builder
 
setEncoding(String) - Method in class au.com.codeka.carrot.Configuration.Builder
 
setLogger(Configuration.Logger) - Method in class au.com.codeka.carrot.Configuration.Builder
 
setResourceLocator(ResourceLocator.Builder) - Method in class au.com.codeka.carrot.Configuration.Builder
 
SetTag - Class in au.com.codeka.carrot.tag
Set tag allows you to set the value a variable in the current scope to the string value of the contents of the set block.
SetTag() - Constructor for class au.com.codeka.carrot.tag.SetTag
 
setTagRegistry(TagRegistry.Builder) - Method in class au.com.codeka.carrot.Configuration.Builder
 
SingletonBindings - Class in au.com.codeka.carrot.bindings
Bindings with exactly one value.
SingletonBindings(String, Object) - Constructor for class au.com.codeka.carrot.bindings.SingletonBindings
 
StatementParser - Class in au.com.codeka.carrot.expr
StatementParser is used to parse expressions.
StatementParser(Tokenizer) - Constructor for class au.com.codeka.carrot.expr.StatementParser
 
StrictIterationTermParser - Class in au.com.codeka.carrot.expr.binary
A factory for iterable Terms.
StrictIterationTermParser(TermParser) - Constructor for class au.com.codeka.carrot.expr.binary.StrictIterationTermParser
 
StringTermParser - Class in au.com.codeka.carrot.expr.values
A TermParser which parses a constant string Term or delegates to another parser if there is no string.
StringTermParser(TermParser) - Constructor for class au.com.codeka.carrot.expr.values.StringTermParser
 
SubOperator - Class in au.com.codeka.carrot.expr.binary
The binary SUBTRACTION operator like in a - b.
SubOperator() - Constructor for class au.com.codeka.carrot.expr.binary.SubOperator
 

T

Tag - Class in au.com.codeka.carrot.tag
Interface that tags must implement.
Tag() - Constructor for class au.com.codeka.carrot.tag.Tag
 
TagNode - Class in au.com.codeka.carrot.tmpl
A TagNode represents a node of the form "{% tagname foo %}" where "tagname" is the name of the tag and "foo" is the parameters.
TagNode(ResourcePointer, Tag) - Constructor for class au.com.codeka.carrot.tmpl.TagNode
 
TagRegistry - Class in au.com.codeka.carrot
Contains a collection of tags that will be matched when parsing a template.
TagRegistry.Builder - Class in au.com.codeka.carrot
 
TagRegistry.TagMatcher - Interface in au.com.codeka.carrot
Interface to implement for custom tag matching.
TemplateParser - Class in au.com.codeka.carrot.tmpl
Parses a stream of Tokens into a tree of Nodes.
TemplateParser(Configuration) - Constructor for class au.com.codeka.carrot.tmpl.TemplateParser
 
Term - Interface in au.com.codeka.carrot.expr
A generic term.
TermParser - Interface in au.com.codeka.carrot.expr
A generic parser for Terms.
TernaryOperator - Interface in au.com.codeka.carrot.expr.ternary
A generic ternary operator.
ternaryOperator() - Method in enum au.com.codeka.carrot.expr.TokenType
 
TernaryTerm - Class in au.com.codeka.carrot.expr.ternary
A ternary term.
TernaryTerm(Term, TernaryOperator, Term, Term) - Constructor for class au.com.codeka.carrot.expr.ternary.TernaryTerm
 
TernaryTermParser - Class in au.com.codeka.carrot.expr.ternary
 
TernaryTermParser(TermParser, TermParser, TermParser, TokenType...) - Constructor for class au.com.codeka.carrot.expr.ternary.TernaryTermParser
 
toArrayList(Iterable<T>) - Static method in class au.com.codeka.carrot.util.CollectionHelper
Converts the given Iterable to an ArrayList.
toArrayList(Iterator<T>) - Static method in class au.com.codeka.carrot.util.CollectionHelper
Converts the given Iterator to an ArrayList.
Token - Class in au.com.codeka.carrot.expr
A Token is something pulled off the statement stream and represents a terminal like a string literal, number, identifier, etc.
Token(TokenType) - Constructor for class au.com.codeka.carrot.expr.Token
 
Token(TokenType, Object) - Constructor for class au.com.codeka.carrot.expr.Token
 
Token - Class in au.com.codeka.carrot.tmpl.parse
Represents a token in a stream of tokens from the Tokenizer.
TokenFactory - Interface in au.com.codeka.carrot.tmpl.parse
Factory for creating Tokens.
Tokenizer - Class in au.com.codeka.carrot.expr
Converts an input Reader into a stream of Tokens.
Tokenizer(LineReader) - Constructor for class au.com.codeka.carrot.expr.Tokenizer
 
Tokenizer - Class in au.com.codeka.carrot.tmpl.parse
The Tokenizer takes an input stream of character and turns it into a stream of Tokens.
Tokenizer(LineReader) - Constructor for class au.com.codeka.carrot.tmpl.parse.Tokenizer
Construct a new Tokenizer with the given LineReader, and a default TokenFactory.
Tokenizer(LineReader, TokenFactory) - Constructor for class au.com.codeka.carrot.tmpl.parse.Tokenizer
Construct a new Tokenizer with the given LineReader and TokenFactory.
TokenType - Enum in au.com.codeka.carrot.expr
An enumeration of the different types of Tokens we can pull off the statement parser.
TokenType - Enum in au.com.codeka.carrot.tmpl.parse
An enumeration which describes the different types of tokens we can parse.
toNumber(Object) - Static method in class au.com.codeka.carrot.util.ValueHelper
Converts the given value to a Number.
toString() - Method in class au.com.codeka.carrot.expr.accessible.AccessTerm
 
toString() - Method in class au.com.codeka.carrot.expr.accessible.MethodTerm
 
toString() - Method in class au.com.codeka.carrot.expr.binary.AddOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.AndOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.BinaryTerm
 
toString() - Method in class au.com.codeka.carrot.expr.binary.Complement
 
toString() - Method in class au.com.codeka.carrot.expr.binary.DivOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.ElvisOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.EqOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.GreaterOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.InOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.IterationOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.IterationTerm
 
toString() - Method in class au.com.codeka.carrot.expr.binary.LessOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.MulOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.OrOperator
 
toString() - Method in class au.com.codeka.carrot.expr.binary.SubOperator
 
toString() - Method in class au.com.codeka.carrot.expr.EmptyTerm
 
toString() - Method in class au.com.codeka.carrot.expr.Identifier
Returns a string representation of this Identifier, useful for debugging.
toString() - Method in class au.com.codeka.carrot.expr.ternary.ComparisonOperator
 
toString() - Method in class au.com.codeka.carrot.expr.ternary.TernaryTerm
 
toString() - Method in class au.com.codeka.carrot.expr.Token
 
toString() - Method in class au.com.codeka.carrot.expr.unary.MinusOperator
 
toString() - Method in class au.com.codeka.carrot.expr.unary.NotOperator
 
toString() - Method in class au.com.codeka.carrot.expr.unary.PlusOperator
 
toString() - Method in class au.com.codeka.carrot.expr.unary.UnaryTerm
 
toString() - Method in class au.com.codeka.carrot.expr.values.Variable
 
toString() - Method in class au.com.codeka.carrot.resource.ResourcePointer
 
toString() - Method in class au.com.codeka.carrot.tmpl.parse.Token
 
toString() - Method in class au.com.codeka.carrot.util.SafeString
 

U

unaryOperator() - Method in enum au.com.codeka.carrot.expr.TokenType
 
UnaryOperator - Interface in au.com.codeka.carrot.expr.unary
An unary operator.
UnaryTerm - Class in au.com.codeka.carrot.expr.unary
An unary Term.
UnaryTerm(UnaryOperator, Term) - Constructor for class au.com.codeka.carrot.expr.unary.UnaryTerm
 
UnaryTermParser - Class in au.com.codeka.carrot.expr.unary
A factory for unary Terms.
UnaryTermParser(TermParser, TokenType...) - Constructor for class au.com.codeka.carrot.expr.unary.UnaryTermParser
 
unexpected(String) - Method in class au.com.codeka.carrot.expr.Tokenizer
Creates a CarrotException with the given message, populated with our current state.

V

value() - Method in interface au.com.codeka.carrot.expr.Lazy
 
value() - Method in class au.com.codeka.carrot.expr.LazyTerm
 
ValueHelper - Class in au.com.codeka.carrot.util
Various helpers for working with Objects.
ValueHelper() - Constructor for class au.com.codeka.carrot.util.ValueHelper
 
valueOf(String) - Static method in enum au.com.codeka.carrot.expr.TokenType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum au.com.codeka.carrot.tmpl.parse.TokenType
Returns the enum constant of this type with the specified name.
values() - Static method in enum au.com.codeka.carrot.expr.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum au.com.codeka.carrot.tmpl.parse.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
Variable - Class in au.com.codeka.carrot.expr.values
A Term decorator which evaluates the value of the decorated term to a bound variable of the current scope.
Variable(Term) - Constructor for class au.com.codeka.carrot.expr.values.Variable
 

W

warning(Configuration, String, Object...) - Static method in class au.com.codeka.carrot.util.Log
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links