Package | Description |
---|---|
org.apache.manifoldcf.scriptengine |
Modifier and Type | Class and Description |
---|---|
class |
BasicTokenStream
Convert a sequence of characters into a stream of tokens.
|
class |
RewindableTokenStream
Allows a TokenStream to be repeated as long as a sequence start is kept.
|
Modifier and Type | Field and Description |
---|---|
protected TokenStream |
RewindableTokenStream.parent |
Modifier and Type | Method and Description |
---|---|
protected VariableReference |
ScriptParser.evaluateExpression_1(TokenStream currentStream) |
protected VariableReference |
ScriptParser.evaluateExpression_2(TokenStream currentStream) |
protected VariableReference |
ScriptParser.evaluateExpression_3(TokenStream currentStream) |
protected VariableReference |
ScriptParser.evaluateExpression_4(TokenStream currentStream) |
protected VariableReference |
ScriptParser.evaluateExpression_5(TokenStream currentStream) |
protected VariableReference |
ScriptParser.evaluateExpression_6(TokenStream currentStream) |
VariableReference |
ScriptParser.evaluateExpression(TokenStream currentStream)
Evaluate an expression.
|
void |
ScriptParser.execute(TokenStream currentStream)
Execute script.
|
static void |
ScriptParser.localError(TokenStream currentStream,
java.lang.String message) |
VariableReference |
NewArray.parseAndCreate(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
VariableReference |
NewConfiguration.parseAndCreate(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
VariableReference |
NewConfigurationNode.parseAndCreate(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
VariableReference |
NewConnectionName.parseAndCreate(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
VariableReference |
NewDictionary.parseAndCreate(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
VariableReference |
NewOperation.parseAndCreate(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
VariableReference |
NewQueryArgument.parseAndCreate(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
VariableReference |
NewURL.parseAndCreate(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
BreakCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
Command.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
DELETECommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
ErrorCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
GETCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
IfCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
InsertCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
POSTCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
PUTCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
PrintCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
RemoveCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
SetCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
WaitCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
boolean |
WhileCommand.parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
void |
BreakCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
Command.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
DELETECommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
ErrorCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
GETCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
IfCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
InsertCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
NewArray.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
NewConfiguration.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
NewConfigurationNode.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
NewConnectionName.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
NewDictionary.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
NewOperation.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
NewQueryArgument.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
NewURL.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
POSTCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
PUTCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
PrintCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
RemoveCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
SetCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
WaitCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
void |
WhileCommand.parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
protected int |
ScriptParser.parseStatement(TokenStream currentStream)
Parse a single statement.
|
boolean |
ScriptParser.parseStatements(TokenStream currentStream)
Parse and execute multiple statements.
|
protected VariableReference |
ScriptParser.parseVariableReference_0(TokenStream currentStream) |
protected VariableReference |
ScriptParser.parseVariableReference_1(TokenStream currentStream) |
protected VariableReference |
ScriptParser.parseVariableReference_2(TokenStream currentStream) |
protected VariableReference |
ScriptParser.parseVariableReference(TokenStream currentStream) |
static Variable |
ScriptParser.resolveMustExist(TokenStream currentStream,
VariableReference vr) |
protected boolean |
ScriptParser.skipExpression_1(TokenStream currentStream) |
protected boolean |
ScriptParser.skipExpression_2(TokenStream currentStream) |
protected boolean |
ScriptParser.skipExpression_3(TokenStream currentStream) |
protected boolean |
ScriptParser.skipExpression_4(TokenStream currentStream) |
protected boolean |
ScriptParser.skipExpression_5(TokenStream currentStream) |
protected boolean |
ScriptParser.skipExpression_6(TokenStream currentStream) |
boolean |
ScriptParser.skipExpression(TokenStream currentStream)
Skip an expression.
|
protected boolean |
ScriptParser.skipStatement(TokenStream currentStream)
Skip a single statement.
|
void |
ScriptParser.skipStatements(TokenStream currentStream)
Skip multiple statements.
|
protected boolean |
ScriptParser.skipVariableReference_0(TokenStream currentStream) |
protected boolean |
ScriptParser.skipVariableReference_1(TokenStream currentStream) |
protected boolean |
ScriptParser.skipVariableReference_2(TokenStream currentStream) |
protected boolean |
ScriptParser.skipVariableReference(TokenStream currentStream) |
static void |
ScriptParser.syntaxError(TokenStream currentStream,
java.lang.String message) |
Constructor and Description |
---|
RewindableTokenStream(TokenStream parent) |