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