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

A

AbstractCharStream - Class in io.appform.hope.lang.parser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
AbstractCharStream(int, int, int) - Constructor for class io.appform.hope.lang.parser.AbstractCharStream
Constructor.
addEscapes(String) - Static method in exception io.appform.hope.lang.parser.TokenMgrException
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
addPackage(String) - Method in class io.appform.hope.lang.HopeLangParser.Builder
Add a package that will be scanned besides stdlib for implementations of HopeFunction
adjustBeginLineColumn(int, int) - Method in class io.appform.hope.lang.parser.AbstractCharStream
Method to adjust line and column numbers for the start of a token.
adjustBuffSize() - Method in class io.appform.hope.lang.parser.JavaCharStream
 
AND - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
AND_COMBINER - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
ARRAY_END - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
ARRAY_NAME - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
ARRAY_START - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
ArrayRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
available - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 

B

backup(int) - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
backup(int) - Method in interface io.appform.hope.lang.parser.CharStream
Backs up the input stream by amount steps.
beginColumn - Variable in class io.appform.hope.lang.parser.Token
The column number of the first character of this Token.
beginLine - Variable in class io.appform.hope.lang.parser.Token
The line number of the first character of this Token.
beginToken() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
beginToken() - Method in interface io.appform.hope.lang.parser.CharStream
 
beginToken() - Method in class io.appform.hope.lang.parser.JavaCharStream
 
BOOLEAN - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
BooleanOpsRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
BooleanOrJsonPathRhsOperand() - Method in class io.appform.hope.lang.parser.HopeParser
 
BooleanRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
bufcolumn - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
buffer - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
bufline - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
bufpos - Variable in class io.appform.hope.lang.parser.AbstractCharStream
Position in buffer.
bufsize - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
build() - Method in class io.appform.hope.lang.HopeLangParser.Builder
Build a Hope language parser
builder() - Static method in class io.appform.hope.lang.HopeLangParser
Create a builder for the parser.

C

CharStream - Interface in io.appform.hope.lang.parser
This interface describes a character stream that maintains line and column number positions of the characters.
CLOSE_BRACKET - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
column - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
CombinerOpRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
COMMA - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
curChar - Variable in class io.appform.hope.lang.parser.HopeParserTokenManager
 
currentToken - Variable in exception io.appform.hope.lang.parser.ParseException
This is the last token that has been consumed successfully.

D

DEFAULT - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
Lexical state.
DEFAULT_BUF_SIZE - Static variable in class io.appform.hope.lang.parser.AbstractCharStream
 
disable_tracing() - Method in class io.appform.hope.lang.parser.HopeParser
Disable tracing.
done() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
done() - Method in interface io.appform.hope.lang.parser.CharStream
The lexer calls this function to indicate that it is done with the stream and hence implementations can free any resources held by this class.

E

enable_tracing() - Method in class io.appform.hope.lang.parser.HopeParser
Enable tracing.
endColumn - Variable in class io.appform.hope.lang.parser.Token
The column number of the last character of this Token.
endLine - Variable in class io.appform.hope.lang.parser.Token
The line number of the last character of this Token.
EOF - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
End of File.
EOL - Static variable in exception io.appform.hope.lang.parser.ParseException
The end of line string for this machine.
EQUALS - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
errorHandlingStrategy(ErrorHandlingStrategy) - Method in class io.appform.hope.lang.HopeLangParser.Builder
Override error handling strategy.
evaluate(Evaluatable, JsonNode) - Method in class io.appform.hope.lang.HopeLangParser
Evaluate a hope lang parsed expression
expandBuff(boolean) - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
expectedTokenSequences - Variable in exception io.appform.hope.lang.parser.ParseException
Each entry in this array is an array of integers.
Expression() - Method in class io.appform.hope.lang.parser.HopeParser
 

F

fillBuff() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
fillBuff() - Method in class io.appform.hope.lang.parser.JavaCharStream
 
function(FunctionRegistry, String, List<Value>) - Static method in class io.appform.hope.lang.utils.TypeUtils
 
FUNCTION_CALL - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
FunctionOpsRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
FunctionRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 

G

generateParseException() - Method in class io.appform.hope.lang.parser.HopeParser
Generate ParseException.
getBeginColumn() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
getBeginColumn() - Method in interface io.appform.hope.lang.parser.CharStream
 
getBeginLine() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
getBeginLine() - Method in interface io.appform.hope.lang.parser.CharStream
 
getEndColumn() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
getEndColumn() - Method in interface io.appform.hope.lang.parser.CharStream
 
getEndLine() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
getEndLine() - Method in interface io.appform.hope.lang.parser.CharStream
 
getImage() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
getImage() - Method in interface io.appform.hope.lang.parser.CharStream
 
getMessage() - Method in exception io.appform.hope.lang.parser.TokenMgrException
You can also modify the body of this method to customize your error messages.
getNextToken() - Method in class io.appform.hope.lang.parser.HopeParser
 
getNextToken() - Method in class io.appform.hope.lang.parser.HopeParserTokenManager
Get the next Token.
getSuffix(int) - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
getSuffix(int) - Method in interface io.appform.hope.lang.parser.CharStream
 
getTabSize() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
getTabSize() - Method in interface io.appform.hope.lang.parser.CharStream
 
getToken(int) - Method in class io.appform.hope.lang.parser.HopeParser
 
getValue() - Method in class io.appform.hope.lang.parser.Token
An optional attribute value of the Token.
GREATER - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
GREATER_EQUALS - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.

H

HopeLangParser - Class in io.appform.hope.lang
Top level accessor for hope.
HopeLangParser.Builder - Class in io.appform.hope.lang
 
HopeParser - Class in io.appform.hope.lang.parser
 
HopeParser(InputStream) - Constructor for class io.appform.hope.lang.parser.HopeParser
Constructor with InputStream.
HopeParser(InputStream, Charset) - Constructor for class io.appform.hope.lang.parser.HopeParser
Constructor with InputStream and supplied encoding
HopeParser(Reader) - Constructor for class io.appform.hope.lang.parser.HopeParser
Constructor with InputStream.
HopeParser(HopeParserTokenManager) - Constructor for class io.appform.hope.lang.parser.HopeParser
Constructor with generated Token Manager.
HopeParserConstants - Interface in io.appform.hope.lang.parser
Token literal values and constants.
HopeParserTokenManager - Class in io.appform.hope.lang.parser
Token Manager.
HopeParserTokenManager(JavaCharStream) - Constructor for class io.appform.hope.lang.parser.HopeParserTokenManager
Constructor.
HopeParserTokenManager(JavaCharStream, int) - Constructor for class io.appform.hope.lang.parser.HopeParserTokenManager
Constructor.

I

image - Variable in class io.appform.hope.lang.parser.Token
The string image of the token.
inBuf - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
input_stream - Variable in class io.appform.hope.lang.parser.HopeParserTokenManager
 
inputStream - Variable in class io.appform.hope.lang.parser.JavaCharStream
 
INVALID_LEXICAL_STATE - Static variable in exception io.appform.hope.lang.parser.TokenMgrException
Tried to change to an invalid lexical state.
io.appform.hope.lang - package io.appform.hope.lang
 
io.appform.hope.lang.parser - package io.appform.hope.lang.parser
 
io.appform.hope.lang.utils - package io.appform.hope.lang.utils
 
isTrackLineColumn() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
isTrackLineColumn() - Method in interface io.appform.hope.lang.parser.CharStream
 

J

JavaCharStream - Class in io.appform.hope.lang.parser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
JavaCharStream(Reader, int, int, int) - Constructor for class io.appform.hope.lang.parser.JavaCharStream
Constructor.
JavaCharStream(Reader, int, int) - Constructor for class io.appform.hope.lang.parser.JavaCharStream
Constructor.
JavaCharStream(Reader) - Constructor for class io.appform.hope.lang.parser.JavaCharStream
Constructor.
JavaCharStream(InputStream, Charset, int, int, int) - Constructor for class io.appform.hope.lang.parser.JavaCharStream
Constructor.
JavaCharStream(InputStream, Charset, int, int) - Constructor for class io.appform.hope.lang.parser.JavaCharStream
Constructor.
JavaCharStream(InputStream, Charset) - Constructor for class io.appform.hope.lang.parser.JavaCharStream
Constructor.
jj_nt - Variable in class io.appform.hope.lang.parser.HopeParser
Next token.
jjFillToken() - Method in class io.appform.hope.lang.parser.HopeParserTokenManager
 
jjnewLexState - Static variable in class io.appform.hope.lang.parser.HopeParserTokenManager
Lex State array.
jjstrLiteralImages - Static variable in class io.appform.hope.lang.parser.HopeParserTokenManager
Token literal values.
JsonPathOpsRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
JsonPathRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 

K

kind - Variable in class io.appform.hope.lang.parser.Token
An integer that describes the kind of this token.

L

LESSER - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
LESSER_EQUALS - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
LEXICAL_ERROR - Static variable in exception io.appform.hope.lang.parser.TokenMgrException
Lexical error occurred.
LexicalErr(boolean, int, int, int, String, int) - Static method in exception io.appform.hope.lang.parser.TokenMgrException
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class io.appform.hope.lang.parser.HopeParserTokenManager
Lexer state names.
line - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
LOOP_DETECTED - Static variable in exception io.appform.hope.lang.parser.TokenMgrException
Detected (and bailed out of) an infinite loop in the token manager.

M

MATCHES - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
maxNextCharInd - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 

N

NativeOperations() - Method in class io.appform.hope.lang.parser.HopeParser
 
newToken(int, String) - Static method in class io.appform.hope.lang.parser.Token
Returns a new Token object, by default.
newToken(int) - Static method in class io.appform.hope.lang.parser.Token
 
next - Variable in class io.appform.hope.lang.parser.Token
A reference to the next regular (non-special) token from the input stream.
nextCharBuf - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
nextCharInd - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
NOT - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
NOT_EQUALS - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
NUMBER - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
NumericalOpsRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
NumericOrJsonPathRhsOperand() - Method in class io.appform.hope.lang.parser.HopeParser
 
NumericRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 

O

OPEN_BRACKET - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
OR - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
OR_COMBINER - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.

P

parse(String) - Method in class io.appform.hope.lang.HopeLangParser
Parse a hope lang string.
parse(FunctionRegistry) - Method in class io.appform.hope.lang.parser.HopeParser
 
ParseException - Exception in io.appform.hope.lang.parser
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception io.appform.hope.lang.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception io.appform.hope.lang.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception io.appform.hope.lang.parser.ParseException
Constructor with message.
PATH - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
PATH_VALUE - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
PathOrEvaluatedPathRhsOperand() - Method in class io.appform.hope.lang.parser.HopeParser
 
prevCharIsCR - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
prevCharIsLF - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 

Q

QUOTE - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.

R

readByte() - Method in class io.appform.hope.lang.parser.JavaCharStream
 
readChar() - Method in class io.appform.hope.lang.parser.AbstractCharStream
Read a character.
readChar() - Method in interface io.appform.hope.lang.parser.CharStream
Get the next character from the selected input.
readChar() - Method in class io.appform.hope.lang.parser.JavaCharStream
Read a character.
registerFunction(Class<? extends HopeFunction>) - Method in class io.appform.hope.lang.HopeLangParser.Builder
Register a HopeFunction implementation directly to the function registry
reInit(int, int, int) - Method in class io.appform.hope.lang.parser.AbstractCharStream
Reinitialise.
ReInit(InputStream) - Method in class io.appform.hope.lang.parser.HopeParser
Reinitialise
ReInit(InputStream, Charset) - Method in class io.appform.hope.lang.parser.HopeParser
Reinitialise
ReInit(Reader) - Method in class io.appform.hope.lang.parser.HopeParser
Reinitialise
ReInit(HopeParserTokenManager) - Method in class io.appform.hope.lang.parser.HopeParser
Reinitialise
ReInit(JavaCharStream) - Method in class io.appform.hope.lang.parser.HopeParserTokenManager
Reinitialise parser.
ReInit(JavaCharStream, int) - Method in class io.appform.hope.lang.parser.HopeParserTokenManager
Reinitialise parser.
reInit(Reader) - Method in class io.appform.hope.lang.parser.JavaCharStream
Reinitialise.
reInit(Reader, int, int) - Method in class io.appform.hope.lang.parser.JavaCharStream
Reinitialise.
reInit(Reader, int, int, int) - Method in class io.appform.hope.lang.parser.JavaCharStream
Reinitialise.
reInit(InputStream, Charset) - Method in class io.appform.hope.lang.parser.JavaCharStream
Reinitialise.
reInit(InputStream, Charset, int, int) - Method in class io.appform.hope.lang.parser.JavaCharStream
Reinitialise.
reInit(InputStream, Charset, int, int, int) - Method in class io.appform.hope.lang.parser.JavaCharStream
Reinitialise.
RhsOperand() - Method in class io.appform.hope.lang.parser.HopeParser
 

S

setTabSize(int) - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
setTabSize(int) - Method in interface io.appform.hope.lang.parser.CharStream
Set the tab size to use.
setTrackLineColumn(boolean) - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
setTrackLineColumn(boolean) - Method in interface io.appform.hope.lang.parser.CharStream
Enable or disable line number and column number tracking.
specialToken - Variable in class io.appform.hope.lang.parser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
STATIC_LEXER_ERROR - Static variable in exception io.appform.hope.lang.parser.TokenMgrException
An attempt was made to create a second instance of a static token manager.
streamClose() - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
streamClose() - Method in class io.appform.hope.lang.parser.JavaCharStream
 
streamRead(char[], int, int) - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
streamRead(char[], int, int) - Method in class io.appform.hope.lang.parser.JavaCharStream
 
STRING - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
STRING_VALUE - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
RegularExpression Id.
StringOpsRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
StringOrJsonPathRhsOperand() - Method in class io.appform.hope.lang.parser.HopeParser
 
StringRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
SwitchTo(int) - Method in class io.appform.hope.lang.parser.HopeParserTokenManager
Switch to specified lex state.

T

token - Variable in class io.appform.hope.lang.parser.HopeParser
Current token.
Token - Class in io.appform.hope.lang.parser
Describes the input token stream.
Token() - Constructor for class io.appform.hope.lang.parser.Token
No-argument constructor
Token(int) - Constructor for class io.appform.hope.lang.parser.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class io.appform.hope.lang.parser.Token
Constructs a new token for the specified Image and Kind.
token_source - Variable in class io.appform.hope.lang.parser.HopeParser
Generated Token Manager.
tokenBegin - Variable in class io.appform.hope.lang.parser.AbstractCharStream
 
tokenImage - Static variable in interface io.appform.hope.lang.parser.HopeParserConstants
Literal token values.
tokenImage - Variable in exception io.appform.hope.lang.parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrException - Exception in io.appform.hope.lang.parser
Token Manager Error.
TokenMgrException() - Constructor for exception io.appform.hope.lang.parser.TokenMgrException
No arg constructor.
TokenMgrException(String, int) - Constructor for exception io.appform.hope.lang.parser.TokenMgrException
Constructor with message and reason.
TokenMgrException(boolean, int, int, int, String, int, int) - Constructor for exception io.appform.hope.lang.parser.TokenMgrException
Full Constructor.
toString() - Method in class io.appform.hope.lang.parser.Token
Returns the image.
trace_enabled() - Method in class io.appform.hope.lang.parser.HopeParser
 
TypeUtils - Class in io.appform.hope.lang.utils
A bunch of utils used by parser

U

UnaryOpRepr() - Method in class io.appform.hope.lang.parser.HopeParser
 
updateLineColumn(char) - Method in class io.appform.hope.lang.parser.AbstractCharStream
 
A B C D E F G H I J K L M N O P Q R S T U 
Skip navigation links

Copyright © 2019. All rights reserved.