public class TContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
FunctionsSet |
functionsSet |
Constructor and Description |
---|
TContext(ImportedFiles importedFiles,
Defines defines,
java.nio.charset.Charset charset,
DefinitionsContainer definitionsContainer) |
Modifier and Type | Method and Description |
---|---|
void |
appendEndOfLine(java.lang.String endOfLine) |
java.lang.String |
applyFunctionsAndVariables(TMemory memory,
LineLocation location,
java.lang.String str) |
Knowledge |
asKnowledge(TMemory memory,
LineLocation location) |
boolean |
doesFunctionExist(java.lang.String functionName) |
TValue |
executeLines(TMemory memory,
java.util.List<StringLocated> body,
TFunctionType ftype,
boolean modeSpecial) |
java.lang.String |
extractFromResultList(int n1) |
java.util.List<StringLocated> |
getDebug() |
java.util.Set<FileWithSuffix> |
getFilesUsedCurrent() |
FileWithSuffix |
getFileWithSuffix(java.lang.String from,
java.lang.String realName) |
TFunction |
getFunctionSmart(TFunctionSignature signature) |
java.util.List<StringLocated> |
getResultList() |
boolean |
isLegacyDefine(java.lang.String functionName) |
boolean |
isUnquoted(java.lang.String functionName) |
public final FunctionsSet functionsSet
public TContext(ImportedFiles importedFiles, Defines defines, java.nio.charset.Charset charset, DefinitionsContainer definitionsContainer)
public java.util.Set<FileWithSuffix> getFilesUsedCurrent()
public Knowledge asKnowledge(TMemory memory, LineLocation location)
public TValue executeLines(TMemory memory, java.util.List<StringLocated> body, TFunctionType ftype, boolean modeSpecial) throws EaterExceptionLocated
EaterExceptionLocated
public java.lang.String applyFunctionsAndVariables(TMemory memory, LineLocation location, java.lang.String str) throws EaterException, EaterExceptionLocated
EaterException
EaterExceptionLocated
public FileWithSuffix getFileWithSuffix(java.lang.String from, java.lang.String realName) throws java.io.IOException
java.io.IOException
public boolean isLegacyDefine(java.lang.String functionName)
public boolean isUnquoted(java.lang.String functionName)
public boolean doesFunctionExist(java.lang.String functionName)
public java.util.List<StringLocated> getResultList()
public java.util.List<StringLocated> getDebug()
public java.lang.String extractFromResultList(int n1)
public void appendEndOfLine(java.lang.String endOfLine)
public TFunction getFunctionSmart(TFunctionSignature signature)