public class DefaultJShellEvaluator extends Object implements JShellEvaluator
| Constructor and Description |
|---|
DefaultJShellEvaluator() |
public static int readQuotes(char[] chars,
int i,
StringBuilder v)
protected int readAndEvalSimpleQuotesExpression(char[] chars,
int i,
StringBuilder out,
JShellContext context)
protected int readAndEvalAntiQuotesString(char[] chars,
int i,
StringBuilder out,
JShellContext context)
protected int readAndEvalDblQuotesExpression(char[] chars,
int i,
StringBuilder out,
JShellContext context)
protected int readAndEvalDollarExpression(char[] chars,
int i,
StringBuilder out,
boolean escapeResultPath,
JShellContext context)
public int evalSuffixOperation(String opString, JShellCommandNode node, JShellContext context)
evalSuffixOperation in interface JShellEvaluatorpublic int evalSuffixAndOperation(JShellCommandNode node, JShellContext context)
evalSuffixAndOperation in interface JShellEvaluatorpublic int evalBinaryAndOperation(JShellCommandNode left, JShellCommandNode right, JShellContext context)
evalBinaryAndOperation in interface JShellEvaluatorpublic int evalBinaryOperation(String opString, JShellCommandNode left, JShellCommandNode right, JShellContext context)
evalBinaryOperation in interface JShellEvaluatorpublic int evalBinaryOrOperation(JShellCommandNode left, JShellCommandNode right, JShellContext context)
evalBinaryOrOperation in interface JShellEvaluatorpublic int evalBinaryPipeOperation(JShellCommandNode left, JShellCommandNode right, JShellContext context)
evalBinaryPipeOperation in interface JShellEvaluatorpublic int evalBinarySuiteOperation(JShellCommandNode left, JShellCommandNode right, JShellContext context)
evalBinarySuiteOperation in interface JShellEvaluatorpublic String evalCommandAndReturnString(JShellCommandNode command, JShellContext context)
evalCommandAndReturnString in interface JShellEvaluatorpublic String evalDollarSharp(JShellContext context)
evalDollarSharp in interface JShellEvaluatorpublic String evalDollarName(String name, JShellContext context)
evalDollarName in interface JShellEvaluatorpublic String evalDollarInterrogation(JShellContext context)
evalDollarInterrogation in interface JShellEvaluatorpublic String evalDollarInteger(int index, JShellContext context)
evalDollarInteger in interface JShellEvaluatorpublic String evalDollarExpression(String stringExpression, JShellContext context)
evalDollarExpression in interface JShellEvaluatorpublic String evalSimpleQuotesExpression(String expressionString, JShellContext context)
evalSimpleQuotesExpression in interface JShellEvaluatorpublic String evalDoubleQuotesExpression(String stringExpression, JShellContext context)
evalDoubleQuotesExpression in interface JShellEvaluatorpublic String evalAntiQuotesExpression(String stringExpression, JShellContext context)
evalAntiQuotesExpression in interface JShellEvaluatorpublic String evalNoQuotesExpression(String stringExpression, JShellContext context)
evalNoQuotesExpression in interface JShellEvaluatorpublic String expandEnvVars(String stringExpression, boolean escapeResultPath, JShellContext context)
expandEnvVars in interface JShellEvaluatorpublic String evalFieldSubstitutionAfterCommandSubstitution(String commandResult, JShellContext context)
Copyright © 2022 vpc open source initiative. All rights reserved.