Index

A B C D E F G I K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

absolute(ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Absolute calculation.
ABSOLUTE - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Absolute.
add(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Add calculation.
ADD - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Add.
addCaseInsensitiveKeyword(String, int) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Adds a keyword to the Lexer, case-insensitive.
addCommentEndDelimiter(String, int) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Adds a comment-ending delimiter to this lexer.
addCommentLineDelimiter(String, int) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Adds a line comment delimiter to this lexer.
addCommentStartDelimiter(String, int) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Adds a comment-starting delimiter to this lexer.
addDelimiter(String, int) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Adds a delimiter to this lexer.
addKeyword(String, int) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Adds a keyword to the Lexer, case-sensitive.
addRawStringDelimiter(char, char) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Adds a raw string delimiter to this lexer along with its ending character.
addStringDelimiter(char, char) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Adds a string delimiter to this lexer along with its ending character.
and(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Bitwise And calculation.
AND - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Bitwise And.
arraySwap(T[], int, int) - Static method in class com.blackrook.expression.struct.Utils
Swaps the contents of two indices of an array.
asBoolean() - Method in class com.blackrook.expression.ExpressionValue
Gets this value as a boolean.
asByte() - Method in class com.blackrook.expression.ExpressionValue
Gets this value as a byte.
asDouble() - Method in class com.blackrook.expression.ExpressionValue
Gets this value as a double-precision float.
asFloat() - Method in class com.blackrook.expression.ExpressionValue
Gets this value as a short.
asInt() - Method in class com.blackrook.expression.ExpressionValue
Gets this value as an integer.
asLong() - Method in class com.blackrook.expression.ExpressionValue
Gets this value as a long integer.
asShort() - Method in class com.blackrook.expression.ExpressionValue
Gets this value as a short.
asString() - Method in class com.blackrook.expression.ExpressionValue
Gets this value as a string.

B

BIG_ENDIAN - Static variable in class com.blackrook.expression.struct.SerialReader
 
BIG_ENDIAN - Static variable in class com.blackrook.expression.struct.SerialWriter
 
BOOL - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Convert to boolean.
BOOLEAN - Enum constant in enum com.blackrook.expression.ExpressionValue.Type
 
byteRead(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads a byte from the bound stream.
byteRead(InputStream, byte[]) - Method in class com.blackrook.expression.struct.SerialReader
Reads a series of bytes from the bound stream into a byte array until end of stream is reached or the array is filled with bytes.
byteRead(InputStream, byte[], int) - Method in class com.blackrook.expression.struct.SerialReader
Reads a series of bytes from the bound stream into a byte array until end of stream is reached or maxlen bytes have been read.

C

CLAMP - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Clamp.
clampValue(double, double, double) - Static method in class com.blackrook.expression.struct.Utils
Coerces a double to the range bounded by lo and hi.
clear() - Method in class com.blackrook.expression.ExpressionStack
Clears the context.
clear() - Method in class com.blackrook.expression.ExpressionVariableContext
Clears the context.
clearCurrentLexeme() - Method in class com.blackrook.expression.struct.Lexer
Clears the current token lexeme buffer.
close() - Method in class com.blackrook.expression.struct.Lexer.ReaderStack.Stream
 
collapse() - Method in class com.blackrook.expression.Expression
Collapses this expression.
COLOR - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Color (byte) components to ARGB.
COLORF - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Color (float) components to ARGB.
com.blackrook.expression - package com.blackrook.expression
Contains expression data.
com.blackrook.expression.exception - package com.blackrook.expression.exception
Contains expression exceptions.
com.blackrook.expression.functions - package com.blackrook.expression.functions
Contains common functions.
com.blackrook.expression.node - package com.blackrook.expression.node
Contains the nodes for compiled expressions.
com.blackrook.expression.resolver - package com.blackrook.expression.resolver
Contains basic resolvers and utilities for resolving.
com.blackrook.expression.struct - package com.blackrook.expression.struct
Additional helper data structures and methods.
CommonFunctions - Enum in com.blackrook.expression.functions
Expression functions.
compareTo(ExpressionValue) - Method in class com.blackrook.expression.ExpressionValue
 
containsFunctionByName(String) - Method in interface com.blackrook.expression.ExpressionFunctionResolver
Attempts to find if this resolver has a function by its calling name.
containsFunctionByName(String) - Method in class com.blackrook.expression.resolver.EnumResolver
 
containsFunctionByName(String) - Method in class com.blackrook.expression.resolver.MultiResolver
 
convertTo(ExpressionValue.Type) - Method in class com.blackrook.expression.ExpressionValue
Converts this value to another value.
COS - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Cosine.
create(boolean) - Static method in class com.blackrook.expression.Expression
Creates an expression that is just one value.
create(boolean) - Static method in class com.blackrook.expression.ExpressionValue
Creates an expression value.
create(double) - Static method in class com.blackrook.expression.Expression
Creates an expression that is just one value.
create(double) - Static method in class com.blackrook.expression.ExpressionValue
Creates an expression value.
create(long) - Static method in class com.blackrook.expression.Expression
Creates an expression that is just one value.
create(long) - Static method in class com.blackrook.expression.ExpressionValue
Creates an expression value.
create(ExpressionNode[]) - Static method in class com.blackrook.expression.Expression
Creates an expression that is a full expression.
create(ExpressionNode[]) - Static method in class com.blackrook.expression.node.ExpressionBranch
Creates a new expression branch - always succeed, one success block.
create(ExpressionNode[], ExpressionNode[]) - Static method in class com.blackrook.expression.node.ExpressionBranch
Creates a new expression branch, no failure block.
create(ExpressionNode[], ExpressionNode[], ExpressionNode[]) - Static method in class com.blackrook.expression.node.ExpressionBranch
Creates a new expression branch, no failure block.
create(ExpressionValue) - Static method in class com.blackrook.expression.Expression
Creates an expression that is just one value.
create(ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Creates an expression value.
create(ExpressionDirectiveType) - Static method in class com.blackrook.expression.node.ExpressionDirective
Creates a new Expression directive.
create(ExpressionDirectiveType, boolean) - Static method in class com.blackrook.expression.node.ExpressionDirective
Creates a new Expression directive.
create(ExpressionDirectiveType, double) - Static method in class com.blackrook.expression.node.ExpressionDirective
Creates a new Expression directive.
create(ExpressionDirectiveType, long) - Static method in class com.blackrook.expression.node.ExpressionDirective
Creates a new Expression directive.
create(ExpressionDirectiveType, String) - Static method in class com.blackrook.expression.node.ExpressionDirective
Creates a new Expression directive.
create(ExpressionFunctionType) - Static method in class com.blackrook.expression.node.ExpressionFunction
Creates a new Expression function.
currentToken() - Method in class com.blackrook.expression.struct.Lexer.Parser
Gets the token read from the last Lexer.Parser.nextToken() call.
currentType(int...) - Method in class com.blackrook.expression.struct.Lexer.Parser
Attempts to match the type of the current token.

D

DEBUG - Static variable in class com.blackrook.expression.struct.Lexer
 
DEFAULT_CAPACITY - Static variable in class com.blackrook.expression.ExpressionStack
Default capacity.
DEFAULT_CAPACITY - Static variable in class com.blackrook.expression.ExpressionVariableContext
Default capacity.
DEG2RAD - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Degrees to radians.
degToRad(double) - Static method in class com.blackrook.expression.struct.Utils
Converts degrees to radians.
digest(byte[], String) - Static method in class com.blackrook.expression.struct.Utils
Returns a hash of a set of bytes digested by an encryption algorithm.
divide(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Divide calculation.
DIVIDE - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Divide.
DOUBLE - Enum constant in enum com.blackrook.expression.ExpressionValue.Type
 

E

E - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Returns Euler's constant.
END_OF_LEXER - Static variable in class com.blackrook.expression.struct.Lexer
Lexer end-of-stream char.
END_OF_STREAM - Static variable in class com.blackrook.expression.struct.Lexer
Lexer end-of-stream char.
EnumResolver - Class in com.blackrook.expression.resolver
A special kind of function resolver that wraps an Enum of ExpressionFunctionType
EnumResolver(Enum...) - Constructor for class com.blackrook.expression.resolver.EnumResolver
Creates a new resolver using a list of enum values.
equal(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Logical Equal calculation.
EQUAL - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Equal.
equals(Expression) - Method in class com.blackrook.expression.Expression
Tests if two expressions are the same.
equals(ExpressionValue) - Method in class com.blackrook.expression.ExpressionValue
 
equals(Object) - Method in class com.blackrook.expression.Expression
 
equals(Object) - Method in class com.blackrook.expression.ExpressionValue
 
evaluate() - Method in class com.blackrook.expression.Expression
Evaluates this expression.
evaluate(ExpressionStack, ExpressionVariableContext, ExpressionValue) - Method in class com.blackrook.expression.Expression
Evaluates this expression.
evaluate(ExpressionValue) - Method in class com.blackrook.expression.Expression
Evaluates this expression.
evaluate(ExpressionVariableContext, ExpressionValue) - Method in class com.blackrook.expression.Expression
Evaluates this expression.
Exception() - Constructor for exception class com.blackrook.expression.struct.Lexer.Parser.Exception
 
Exception(String) - Constructor for exception class com.blackrook.expression.struct.Lexer.Parser.Exception
 
Exception(String, Throwable) - Constructor for exception class com.blackrook.expression.struct.Lexer.Parser.Exception
 
execute(ExpressionStack, ExpressionVariableContext) - Method in interface com.blackrook.expression.ExpressionNode
Executes this node.
execute(ExpressionStack, ExpressionVariableContext) - Method in enum com.blackrook.expression.functions.CommonFunctions
Executes this node.
execute(ExpressionStack, ExpressionVariableContext) - Method in class com.blackrook.expression.node.ExpressionBranch
 
execute(ExpressionStack, ExpressionVariableContext) - Method in class com.blackrook.expression.node.ExpressionDirective
 
execute(ExpressionStack, ExpressionVariableContext) - Method in class com.blackrook.expression.node.ExpressionFunction
 
execute(ExpressionStack, ExpressionVariableContext) - Method in interface com.blackrook.expression.node.ExpressionFunctionType
Executes this function.
execute(ExpressionStack, ExpressionVariableContext, Object) - Method in enum com.blackrook.expression.node.ExpressionDirectiveType
Executes this node.
Expression - Class in com.blackrook.expression
An expression object for evaluating dynamic calculations.
ExpressionBranch - Class in com.blackrook.expression.node
Expression branch.
ExpressionDirective - Class in com.blackrook.expression.node
Single expression directive.
ExpressionDirectiveType - Enum in com.blackrook.expression.node
Expression directive.
ExpressionException - Exception Class in com.blackrook.expression.exception
Exception that can be thrown during expression evaluation.
ExpressionException() - Constructor for exception class com.blackrook.expression.exception.ExpressionException
 
ExpressionException(String) - Constructor for exception class com.blackrook.expression.exception.ExpressionException
 
ExpressionException(String, Object...) - Constructor for exception class com.blackrook.expression.exception.ExpressionException
 
ExpressionException(String, Throwable) - Constructor for exception class com.blackrook.expression.exception.ExpressionException
 
ExpressionException(Throwable) - Constructor for exception class com.blackrook.expression.exception.ExpressionException
 
ExpressionFactory - Class in com.blackrook.expression
Creates expression objects from input text.
ExpressionFactory() - Constructor for class com.blackrook.expression.ExpressionFactory
 
ExpressionFunction - Class in com.blackrook.expression.node
Single expression function.
ExpressionFunctionResolver - Interface in com.blackrook.expression
Resolver encapsulation for finding a relevant function by name.
ExpressionFunctionType - Interface in com.blackrook.expression.node
Describes a type of function entry point.
ExpressionNode - Interface in com.blackrook.expression
A single node in a compiled expression.
ExpressionParseException - Exception Class in com.blackrook.expression.exception
Exception that can be thrown during expression parsing.
ExpressionParseException() - Constructor for exception class com.blackrook.expression.exception.ExpressionParseException
 
ExpressionParseException(String) - Constructor for exception class com.blackrook.expression.exception.ExpressionParseException
 
ExpressionParseException(String, Object...) - Constructor for exception class com.blackrook.expression.exception.ExpressionParseException
 
ExpressionParseException(String, Throwable) - Constructor for exception class com.blackrook.expression.exception.ExpressionParseException
 
ExpressionParseException(Throwable) - Constructor for exception class com.blackrook.expression.exception.ExpressionParseException
 
ExpressionStack - Class in com.blackrook.expression
A calculation stack for expression calculation.
ExpressionStack() - Constructor for class com.blackrook.expression.ExpressionStack
Creates a stack with a default size.
ExpressionStack(int) - Constructor for class com.blackrook.expression.ExpressionStack
Creates a context with a default size.
ExpressionValue - Class in com.blackrook.expression
Expression value encapsulation.
ExpressionValue.Type - Enum in com.blackrook.expression
 
ExpressionVariableContext - Class in com.blackrook.expression
An open variable set in which values can be set.
ExpressionVariableContext() - Constructor for class com.blackrook.expression.ExpressionVariableContext
Creates a context with a default size.
ExpressionVariableContext(int) - Constructor for class com.blackrook.expression.ExpressionVariableContext
Creates a context with a default size.
ExpressionVariableSet - Interface in com.blackrook.expression
Expression variable set.

F

FALSE - Static variable in class com.blackrook.expression.Expression
Expression: literal false.
FLOAT - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Convert to floating point (double, internally).
FLOAT_0 - Static variable in class com.blackrook.expression.Expression
Expression: literal 0.0.
FLOAT_1 - Static variable in class com.blackrook.expression.Expression
Expression: literal 1.0.

G

get(String) - Method in class com.blackrook.expression.ExpressionVariableContext
 
get(String) - Method in interface com.blackrook.expression.ExpressionVariableSet
Gets a corresponding expression value by name.
getArgumentCount() - Method in enum com.blackrook.expression.functions.CommonFunctions
 
getArgumentCount() - Method in interface com.blackrook.expression.node.ExpressionFunctionType
 
getCharIndex() - Method in class com.blackrook.expression.struct.Lexer.Token
 
getCurrentLexeme() - Method in class com.blackrook.expression.struct.Lexer
Gets the current token lexeme.
getCurrentLineCharacterIndex() - Method in class com.blackrook.expression.struct.Lexer.ReaderStack
 
getCurrentLineNumber() - Method in class com.blackrook.expression.struct.Lexer
Gets the lexer's current stream's line number.
getCurrentLineNumber() - Method in class com.blackrook.expression.struct.Lexer.ReaderStack
 
getCurrentStream() - Method in class com.blackrook.expression.struct.Lexer
Gets the current stream.
getCurrentStreamName() - Method in class com.blackrook.expression.struct.Lexer
 
getCurrentStreamName() - Method in class com.blackrook.expression.struct.Lexer.ReaderStack
 
getDecimalSeparator() - Method in class com.blackrook.expression.struct.Lexer.Kernel
Gets the current decimal separator character.
getDigest() - Method in class com.blackrook.expression.Expression
Gets the SHA-1 digest of this expression, in order to find duplicates.
getDigest(boolean) - Method in class com.blackrook.expression.Expression
Gets the SHA1 digest of this expression, in order to find duplicates.
getFunctionByName(String) - Method in interface com.blackrook.expression.ExpressionFunctionResolver
Attempts to resolve a pertinent function by its calling name.
getFunctionByName(String) - Method in class com.blackrook.expression.resolver.EnumResolver
 
getFunctionByName(String) - Method in class com.blackrook.expression.resolver.MultiResolver
 
getLexeme() - Method in class com.blackrook.expression.struct.Lexer.Token
 
getLexer() - Method in class com.blackrook.expression.struct.Lexer.Parser
Gets the Lexer that this Parser uses.
getLineNumber() - Method in class com.blackrook.expression.struct.Lexer.Token
 
getOperand() - Method in class com.blackrook.expression.node.ExpressionDirective
 
getRawStringEnd(char) - Method in class com.blackrook.expression.struct.Lexer
Gets the character that ends a raw String, using the starting character.
getResolver() - Static method in enum com.blackrook.expression.functions.CommonFunctions
 
getSource() - Method in class com.blackrook.expression.Expression
Gets the source code that was used to create this expression.
getState() - Method in class com.blackrook.expression.struct.Lexer
 
getStreamName() - Method in class com.blackrook.expression.struct.Lexer.Token
 
getStringEnd(char) - Method in class com.blackrook.expression.struct.Lexer
Gets the character that ends a String, using the starting character.
getTokenInfoLine(String) - Method in class com.blackrook.expression.struct.Lexer.Parser
Returns a stock error line for when an error/warning or whatever occurs during parse.
getType() - Method in class com.blackrook.expression.node.ExpressionDirective
 
getType() - Method in class com.blackrook.expression.struct.Lexer.Token
 
greater(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Greater-than calculation.
GREATER - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Greater than.
GREATER_OR_EQUAL - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Greater than or equal.
greaterOrEqual(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Greater-than-or-equal calculation.

I

INFINITY - Static variable in class com.blackrook.expression.Expression
Expression: Infinity.
INT - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Convert to integer (long, internally).
INTEGER_0 - Static variable in class com.blackrook.expression.Expression
Expression: literal 0.
INTEGER_1 - Static variable in class com.blackrook.expression.Expression
Expression: literal 1.
intern() - Method in class com.blackrook.expression.Expression
Internalizes an expression: adds this expression to an internal bank and returns it, or returns an existing reference for the same expression already stored.
isCollapsable() - Method in interface com.blackrook.expression.ExpressionNode
Checks if this node is collapsable.
isCollapsable() - Method in enum com.blackrook.expression.functions.CommonFunctions
Checks if this node type is collapsable.
isCollapsable() - Method in class com.blackrook.expression.node.ExpressionBranch
 
isCollapsable() - Method in class com.blackrook.expression.node.ExpressionDirective
 
isCollapsable() - Method in enum com.blackrook.expression.node.ExpressionDirectiveType
Checks if this node type is collapsable.
isCollapsable() - Method in class com.blackrook.expression.node.ExpressionFunction
 
isCollapsable() - Method in interface com.blackrook.expression.node.ExpressionFunctionType
Checks if this node type is collapsable.
isCollapsible() - Method in class com.blackrook.expression.Expression
Checks if this expression is collapsable.
isCommentEndDelimiterStart(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if this is a (or the start of a) block-comment-ending delimiter character.
isDelimiterStart(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if this is a (or the start of a) delimiter character.
isDigit(char) - Method in class com.blackrook.expression.struct.Lexer
Convenience method for Character.isDigit(char).
isEmpty() - Method in class com.blackrook.expression.ExpressionStack
 
isEmpty() - Method in class com.blackrook.expression.ExpressionVariableContext
 
isEmpty() - Method in class com.blackrook.expression.struct.Lexer.ReaderStack
 
isEmpty(Object) - Static method in class com.blackrook.expression.struct.Utils
Checks if a value is "empty."
isExponent(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if char is the exponent character in a number.
isExponentSign(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if char is the exponent sign character in a number.
isHexDigit(char) - Method in class com.blackrook.expression.struct.Lexer
Returns true if this is a hex digit (0-9, A-F, a-f).
isInfinite() - Method in class com.blackrook.expression.ExpressionValue
 
isLetter(char) - Method in class com.blackrook.expression.struct.Lexer
Convenience method for Character.isLetter(char).
isLexerEnd(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if a char equals Lexer.END_OF_LEXER.
isNaN() - Method in class com.blackrook.expression.ExpressionValue
 
isNewline(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if a char equals Lexer.NEWLINE.
isPoint(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if a character is a decimal point (depends on locale/kernel).
isRawStringStart(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if this is a character that starts a multiline String.
isSpace(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if a char is a space.
isStreamEnd(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if a char equals Lexer.END_OF_STREAM.
isStringEnd(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if this is a character that ends a String.
isStringEscape(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if this is a character that is a String escape character.
isStringStart(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if this is a character that starts a String.
isTab(char) - Method in class com.blackrook.expression.struct.Lexer
Checks if a char is a tab.
isUnderscore(char) - Method in class com.blackrook.expression.struct.Lexer
Convenience method for c == '_'.
isValue() - Method in class com.blackrook.expression.Expression
Checks if this is just a literal value (not complex).
isWhitespace(char) - Method in class com.blackrook.expression.struct.Lexer
Convenience method for Character.isWhitespace(char).

K

Kernel() - Constructor for class com.blackrook.expression.struct.Lexer.Kernel
Creates a new, blank LexerKernel with default settings.

L

LEFT_SHIFT - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Left Bit Shift.
leftShift(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Left shift calculation.
LERP - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Linear-interpolate.
less(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Less-than calculation.
LESS - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Less than.
LESS_OR_EQUAL - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Less than or equal.
lessOrEqual(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Less-than-or-equal calculation.
Lexer - Class in com.blackrook.expression.struct
Breaks up a stream of characters into lexicographical tokens.
Lexer(Lexer.Kernel, Reader) - Constructor for class com.blackrook.expression.struct.Lexer
Creates a new lexer around a reader.
Lexer(Lexer.Kernel, String) - Constructor for class com.blackrook.expression.struct.Lexer
Creates a new lexer around a String, that will be wrapped into a StringReader.
Lexer(Lexer.Kernel, String, Reader) - Constructor for class com.blackrook.expression.struct.Lexer
Creates a new lexer around a reader.
Lexer(Lexer.Kernel, String, String) - Constructor for class com.blackrook.expression.struct.Lexer
Creates a new lexer around a String, that will be wrapped into a StringReader.
Lexer.Kernel - Class in com.blackrook.expression.struct
This is a info kernel that tells a Lexer how to interpret certain characters and identifiers.
Lexer.Parser - Class in com.blackrook.expression.struct
Abstract parser class.
Lexer.Parser.Exception - Exception Class in com.blackrook.expression.struct
Thrown when a Parser has a problem.
Lexer.ReaderStack - Class in com.blackrook.expression.struct
This holds a series of Reader streams such that the stream on top is the current active stream.
Lexer.ReaderStack.Stream - Class in com.blackrook.expression.struct
Stream encapsulation of a single named Reader.
Lexer.Token - Class in com.blackrook.expression.struct
Lexer token object.
linearInterpolate(double, double, double) - Static method in class com.blackrook.expression.struct.Utils
Gives a value that is the result of a linear interpolation between two values.
LITTLE_ENDIAN - Static variable in class com.blackrook.expression.struct.SerialReader
 
LITTLE_ENDIAN - Static variable in class com.blackrook.expression.struct.SerialWriter
 
LOGICAL_AND - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Logical And.
LOGICAL_NOT - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Logical Not.
LOGICAL_OR - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Logical Or.
logicalAnd(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Logical And calculation.
logicalNot(ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Logical not calculation.
logicalOr(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Logical Or calculation.
LONG - Enum constant in enum com.blackrook.expression.ExpressionValue.Type
 

M

matchType(int) - Method in class com.blackrook.expression.struct.Lexer.Parser
Matches the current token.
MAX - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Maximum.
MIN - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Minimum.
modifyType(Lexer.Token) - Method in class com.blackrook.expression.struct.Lexer
Called when the lexer wants to create a token, but the lexeme of the token may cause this token to be a different type.
modulo(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Modulo calculation.
MODULO - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Modulo.
multiply(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Multiply calculation.
MULTIPLY - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Multiply.
MultiResolver - Class in com.blackrook.expression.resolver
A resolver that is a combination of multiple resolvers.
MultiResolver(ExpressionFunctionResolver...) - Constructor for class com.blackrook.expression.resolver.MultiResolver
Creates a new MultiResolver using a list of resolvers.

N

name() - Method in interface com.blackrook.expression.node.ExpressionFunctionType
Gets the name of this function.
NAN - Static variable in class com.blackrook.expression.Expression
Expression: NaN.
negate(ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Negate calculation.
NEGATE - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Negate.
NEWLINE - Static variable in class com.blackrook.expression.struct.Lexer
Lexer newline char.
nextToken() - Method in class com.blackrook.expression.struct.Lexer
Gets the next token.
nextToken() - Method in class com.blackrook.expression.struct.Lexer.Parser
Reads and sets the current token to the next token.
not(ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Bitwise not calculation.
NOT - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Bitwise NOT.
NOT_EQUAL - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Not Equal.
notEqual(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Logical Not Equal calculation.

O

or(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Bitwise Or calculation.
OR - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Bitwise Or.

P

parseExpression(Reader, ExpressionFunctionResolver) - Static method in class com.blackrook.expression.ExpressionFactory
Parses a single-line expression.
parseExpression(String) - Static method in class com.blackrook.expression.ExpressionFactory
Parses a single-line expression.
parseExpression(String, ExpressionFunctionResolver) - Static method in class com.blackrook.expression.ExpressionFactory
Parses a single-line expression.
parseExpressionBlock(Reader, ExpressionFunctionResolver) - Static method in class com.blackrook.expression.ExpressionFactory
Parses an expression block (multi-line/statement expression).
parseExpressionBlock(String) - Static method in class com.blackrook.expression.ExpressionFactory
Parses an expression block (multi-line/statement expression).
parseExpressionBlock(String, ExpressionFunctionResolver) - Static method in class com.blackrook.expression.ExpressionFactory
Parses an expression block (multi-line/statement expression).
Parser(Lexer) - Constructor for class com.blackrook.expression.struct.Lexer.Parser
Constructs the parser and binds a Lexer to it.
peek() - Method in class com.blackrook.expression.ExpressionStack
Peeks at a value on the top of the stack.
peek() - Method in class com.blackrook.expression.struct.Lexer.ReaderStack
Gets the reference to the topmost (current) stream.
PI - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Returns PI.
pop() - Method in class com.blackrook.expression.ExpressionStack
Pops a value off the stack.
pop() - Method in class com.blackrook.expression.struct.Lexer.ReaderStack
Pops a Lexer.ReaderStack.Stream off of the top of this stack.
POP - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
POP into variable.
push(boolean) - Method in class com.blackrook.expression.ExpressionStack
Pushes a value onto the stack.
push(double) - Method in class com.blackrook.expression.ExpressionStack
Pushes a value onto the stack.
push(long) - Method in class com.blackrook.expression.ExpressionStack
Pushes a value onto the stack.
push(ExpressionValue) - Method in class com.blackrook.expression.ExpressionStack
Pushes a value onto the stack.
push(String, Reader) - Method in class com.blackrook.expression.struct.Lexer.ReaderStack
Pushes another reader onto the stack.
PUSH - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
PUSH value.
PUSH_VARIABLE - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
PUSH variable.
pushStream(String, Reader) - Method in class com.blackrook.expression.struct.Lexer
Pushes a stream onto the encapsulated reader stack.

R

RAD2DEG - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Radians to degrees.
radToDeg(double) - Static method in class com.blackrook.expression.struct.Utils
Converts radians to degrees.
read24BitInt(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a 24-bit integer.
readBoolean(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads a byte as a boolean value.
readBooleanArray(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an array of boolean values.
readByte(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a single byte.
readByteArray(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads a byte array in from the reader.
readBytes(InputStream, byte[]) - Method in class com.blackrook.expression.struct.SerialReader
Reads a series of bytes from the bound stream into a byte array until end of stream is reached or the array is filled with bytes.
readBytes(InputStream, byte[], int) - Method in class com.blackrook.expression.struct.SerialReader
Reads a series of bytes from the bound stream into a byte array until end of stream is reached or maxlen bytes have been read.
readBytes(InputStream, int) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a specified amount of bytes, returned as an array.
readChar() - Method in class com.blackrook.expression.struct.Lexer
Reads a character from the stream.
readChar() - Method in class com.blackrook.expression.struct.Lexer.ReaderStack
Reads the next character.
readChar(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a character.
readCharArray(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an array of characters.
readChars(InputStream, int) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a specific amount of characters.
readDouble(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a 64-bit float.
readDoubleArray(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an array 64-bit floats.
readDoubles(InputStream, int) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a specified amount of 64-bit floats.
ReaderStack() - Constructor for class com.blackrook.expression.struct.Lexer.ReaderStack
Creates a new empty ReaderStack.
ReaderStack(String, Reader) - Constructor for class com.blackrook.expression.struct.Lexer.ReaderStack
Creates a new ReaderStack.
readFloat(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a 32-bit float.
readFloatArray(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an array 32-bit floats.
readFloats(InputStream, int) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a specified amount of 32-bit floats.
readFor(InputStream, byte[]) - Method in class com.blackrook.expression.struct.SerialReader
Reads a bunch of bytes and checks to see if a set of bytes match completely with the input byte string.
readInt(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an integer.
readIntArray(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an array of integers.
readInts(InputStream, int) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a specified amount of integers.
readLong(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a long value.
readLongArray(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an array of long values.
readLongs(InputStream, int) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an amount of long values specified by the user.
readShort(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a short.
readShortArray(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an array of shorts.
readShorts(InputStream, int) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a specified amount of shorts.
readString(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads a char array and returns it as a String.
readString(InputStream, int, String) - Method in class com.blackrook.expression.struct.SerialReader
Reads a byte vector of specific length and returns it as a String in a particular encoding.
readString(InputStream, int, Charset) - Method in class com.blackrook.expression.struct.SerialReader
Reads a byte vector of specific length and returns it as a String in a particular encoding.
readString(InputStream, String) - Method in class com.blackrook.expression.struct.SerialReader
Reads a byte vector (an int followed by a series of bytes) and returns it as a String in a particular encoding.
readString(InputStream, Charset) - Method in class com.blackrook.expression.struct.SerialReader
Reads a byte vector (an int followed by a series of bytes) and returns it as a String in a particular encoding.
readStringArray(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in an array of strings.
readUnsignedByte(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a single byte, cast to a short to eliminate sign.
readUnsignedInt(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a integer, cast to a long, discarding sign.
readUnsignedShort(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads in a short, cast to an integer, discarding sign.
readVariableLengthInt(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads an integer from an input stream that is variable-length encoded.
readVariableLengthLong(InputStream) - Method in class com.blackrook.expression.struct.SerialReader
Reads a long from an input stream that is variable-length encoded.
RETURN - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Return value.
RETURN_VARIABLE - Static variable in class com.blackrook.expression.Expression
Return variable name.
RIGHT_SHIFT - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Right Bit Shift.
RIGHT_SHIFT_PADDED - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Right Bit Shift Padded.
rightShift(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Right shift calculation.
rightShiftPadded(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Right shift padded calculation.

S

saveChar(char) - Method in class com.blackrook.expression.struct.Lexer
Saves a character for the next token.
seekToPattern(InputStream, byte[]) - Method in class com.blackrook.expression.struct.SerialReader
Keeps reading until it hits a specific byte pattern.
SerialReader - Class in com.blackrook.expression.struct
Assists in endian reading from an input stream.
SerialReader(boolean) - Constructor for class com.blackrook.expression.struct.SerialReader
Wraps a super reader around an InputStream.
SerialWriter - Class in com.blackrook.expression.struct
Assists in endian writing to an output stream.
SerialWriter(boolean) - Constructor for class com.blackrook.expression.struct.SerialWriter
Creates a new serial writer.
set(boolean) - Method in class com.blackrook.expression.ExpressionValue
Sets this value using another value.
set(double) - Method in class com.blackrook.expression.ExpressionValue
Sets this value using another value.
set(long) - Method in class com.blackrook.expression.ExpressionValue
Sets this value using another value.
set(ExpressionValue) - Method in class com.blackrook.expression.ExpressionValue
Sets this value using another value.
set(String, boolean) - Method in class com.blackrook.expression.ExpressionVariableContext
Gets a corresponding expression value by name.
set(String, double) - Method in class com.blackrook.expression.ExpressionVariableContext
Gets a corresponding expression value by name.
set(String, long) - Method in class com.blackrook.expression.ExpressionVariableContext
Gets a corresponding expression value by name.
set(String, ExpressionValue) - Method in class com.blackrook.expression.ExpressionVariableContext
Gets a corresponding expression value by name.
setDecimalSeparator(char) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Sets the current decimal separator character.
setDelimBreak(char) - Method in class com.blackrook.expression.struct.Lexer
Sets if we are in a delimiter break.
setEmitComments(boolean) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Sets if this lexer emits comment tokens.
setEmitNewlines(boolean) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Sets if this lexer emits newline tokens.
setEmitSpaces(boolean) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Sets if this lexer emits space tokens?
setEmitStreamBreak(boolean) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Sets if this lexer emits stream break tokens.
setEmitTabs(boolean) - Method in class com.blackrook.expression.struct.Lexer.Kernel
Sets if this lexer emits tab tokens.
setEndianMode(boolean) - Method in class com.blackrook.expression.struct.SerialReader
Sets the byte endian mode for the byte conversion methods.
setEndianMode(boolean) - Method in class com.blackrook.expression.struct.SerialWriter
Sets the byte endian mode for the byte conversion methods.
setLexeme(String) - Method in class com.blackrook.expression.struct.Lexer.Token
Sets this token's lexeme.
setMultilineStringStartAndEnd(char) - Method in class com.blackrook.expression.struct.Lexer
Sets the end character for a string.
setState(int) - Method in class com.blackrook.expression.struct.Lexer
Sets the current state.
setStringStartAndEnd(char) - Method in class com.blackrook.expression.struct.Lexer
Sets the end character for a string.
setType(int) - Method in class com.blackrook.expression.struct.Lexer.Token
Sets this token's type.
sha1(byte[]) - Static method in class com.blackrook.expression.struct.Utils
Returns a 20-byte SHA-1 hash of a set of bytes.
SIN - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Sine.
size() - Method in class com.blackrook.expression.ExpressionStack
 
size() - Method in class com.blackrook.expression.ExpressionVariableContext
 
size() - Method in class com.blackrook.expression.struct.Lexer.ReaderStack
 
sortFrom(T[], int) - Static method in class com.blackrook.expression.struct.Utils
Shifts an object to an appropriate position according to the object's Comparable.compareTo(Object) function.
sortFrom(T[], int, Comparator) - Static method in class com.blackrook.expression.struct.Utils
Shifts an object to an appropriate position according to the provided comparator function.
STRICT_EQUAL - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Strict Equal.
STRICT_NOT_EQUAL - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Strict Not Equal.
strictEqual(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Strict Equal calculation.
strictNotEqual(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Strict Not Equal calculation.
subtract(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Subtract calculation.
SUBTRACT - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Subtract.

T

Token(String, int, String, int, int) - Constructor for class com.blackrook.expression.struct.Lexer.Token
 
toString() - Method in class com.blackrook.expression.Expression
 
toString() - Method in class com.blackrook.expression.ExpressionStack
 
toString() - Method in class com.blackrook.expression.ExpressionValue
 
toString() - Method in class com.blackrook.expression.ExpressionVariableContext
 
toString() - Method in class com.blackrook.expression.node.ExpressionBranch
 
toString() - Method in class com.blackrook.expression.node.ExpressionDirective
 
toString() - Method in class com.blackrook.expression.node.ExpressionFunction
 
toString() - Method in class com.blackrook.expression.struct.Lexer.Token
 
TRUE - Static variable in class com.blackrook.expression.Expression
Expression: literal true.
TYPE_COMMENT - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Comment.
TYPE_DELIM_CLOSE_COMMENT - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Close comment.
TYPE_DELIM_COMMENT - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Delimiter Comment (never returned).
TYPE_DELIM_LINE_COMMENT - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Line comment.
TYPE_DELIM_NEWLINE - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: New line character.
TYPE_DELIM_OPEN_COMMENT - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Open comment.
TYPE_DELIM_SPACE - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Space.
TYPE_DELIM_TAB - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Tab.
TYPE_DELIMITER - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Delimiter (never returned).
TYPE_END_OF_LEXER - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: End of lexer.
TYPE_END_OF_STREAM - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: End of stream.
TYPE_EXPONENT - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Exponent state (never returned).
TYPE_EXPONENT_POWER - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Exponent power state (never returned).
TYPE_FLOAT - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Floating point state (never returned).
TYPE_HEX_INTEGER - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: hexadecimal integer (never returned).
TYPE_HEX_INTEGER0 - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: hexadecimal integer (never returned).
TYPE_HEX_INTEGER1 - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: hexadecimal integer (never returned).
TYPE_IDENTIFIER - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Identifier.
TYPE_ILLEGAL - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Illegal token.
TYPE_LINE_COMMENT - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Line Comment.
TYPE_NUMBER - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Number.
TYPE_POINT - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Point state (never returned).
TYPE_RAWSTRING - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Raw String (never returned).
TYPE_STRING - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: String.
TYPE_UNKNOWN - Static variable in class com.blackrook.expression.struct.Lexer.Kernel
Reserved token type: Unknown token.

U

Utils - Class in com.blackrook.expression.struct
 
Utils() - Constructor for class com.blackrook.expression.struct.Utils
 

V

valueOf(String) - Static method in enum com.blackrook.expression.ExpressionValue.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.blackrook.expression.functions.CommonFunctions
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.blackrook.expression.node.ExpressionDirectiveType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.blackrook.expression.ExpressionValue.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.blackrook.expression.functions.CommonFunctions
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.blackrook.expression.node.ExpressionDirectiveType
Returns an array containing the constants of this enum type, in the order they are declared.

W

willEmitComments() - Method in class com.blackrook.expression.struct.Lexer.Kernel
Checks if this lexer emits comment tokens.
willEmitNewlines() - Method in class com.blackrook.expression.struct.Lexer.Kernel
Checks if this lexer emits newline tokens.
willEmitSpaces() - Method in class com.blackrook.expression.struct.Lexer.Kernel
Checks if this lexer emits space tokens.
willEmitStreamBreak() - Method in class com.blackrook.expression.struct.Lexer.Kernel
Checks if this lexer emits stream break tokens.
willEmitTabs() - Method in class com.blackrook.expression.struct.Lexer.Kernel
Checks if this lexer emits tab tokens.
WRAP - Enum constant in enum com.blackrook.expression.functions.CommonFunctions
Wrap.
wrapValue(double, double, double) - Static method in class com.blackrook.expression.struct.Utils
Coerces a double to the range bounded by lo and hi, by "wrapping" the value.
writeBoolean(OutputStream, boolean) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a boolean as a byte.
writeBooleanArray(OutputStream, boolean...) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a boolean array, which is the length of the array as an integer plus each boolean grouped into integer bits.
writeByte(OutputStream, byte) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a byte.
writeByteArray(OutputStream, byte[]) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an array of bytes, which is the length of the array as an integer plus each byte.
writeBytes(OutputStream) - Method in interface com.blackrook.expression.ExpressionNode
Write value as bytes (for digest later).
writeBytes(OutputStream) - Method in class com.blackrook.expression.ExpressionValue
Write value as bytes (for digest later).
writeBytes(OutputStream) - Method in class com.blackrook.expression.node.ExpressionBranch
 
writeBytes(OutputStream) - Method in class com.blackrook.expression.node.ExpressionDirective
 
writeBytes(OutputStream) - Method in class com.blackrook.expression.node.ExpressionFunction
 
writeBytes(OutputStream, byte[]) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a series of bytes.
writeChar(OutputStream, char) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a character.
writeCharArray(OutputStream, char[]) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a character array, which is the length of the array as an integer plus each character.
writeDouble(OutputStream, double) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a 64-bit float.
writeDoubleArray(OutputStream, double[]) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an array of 64-bit floats, which is the length of the array as an integer plus each double.
writeFloat(OutputStream, float) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a 32-bit float.
writeFloatArray(OutputStream, float[]) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an array of 32-bit floats, which is the length of the array as an integer plus each float.
writeInt(OutputStream, int) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an integer.
writeIntArray(OutputStream, int[]) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an integer array, which is the length of the array as an integer plus each integer.
writeLong(OutputStream, long) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a long.
writeLongArray(OutputStream, long[]) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an array of longs, which is the length of the array as an integer plus each long.
writeShort(OutputStream, short) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a short.
writeShortArray(OutputStream, short[]) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an array of shorts, which is the length of the array as an integer plus each short.
writeString(OutputStream, String) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a String.
writeString(OutputStream, String, String) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a String in a specific encoding.
writeString(OutputStream, String, Charset) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a String in a specific encoding.
writeStringArray(OutputStream, String[]) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an array of Strings, which is the length of the array as an integer plus each String.
writeUnsignedByte(OutputStream, int) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an int that is less than 256 to a byte.
writeUnsignedByte(OutputStream, short) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a short that is less than 256 to a byte.
writeUnsignedInteger(OutputStream, long) - Method in class com.blackrook.expression.struct.SerialWriter
Writes a long that is less than 2^32 to an integer.
writeUnsignedShort(OutputStream, int) - Method in class com.blackrook.expression.struct.SerialWriter
Writes an integer, less than 65536, as a short.
writeVariableLengthInt(OutputStream, int) - Method in class com.blackrook.expression.struct.SerialWriter
Converts an integer from an int to a variable-length string of bytes.
writeVariableLengthLong(OutputStream, long) - Method in class com.blackrook.expression.struct.SerialWriter
Converts a long from a long to a variable-length string of bytes.

X

xor(ExpressionValue, ExpressionValue, ExpressionValue) - Static method in class com.blackrook.expression.ExpressionValue
Bitwise XOr calculation.
XOR - Enum constant in enum com.blackrook.expression.node.ExpressionDirectiveType
Bitwise Xor.
A B C D E F G I K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form