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 FunctionsSetfunctionsSet
-
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 voidappendEndOfLine(java.lang.String endOfLine)java.lang.StringapplyFunctionsAndVariables(TMemory memory, StringLocated str)KnowledgeasKnowledge(TMemory memory, LineLocation location)booleandoesFunctionExist(java.lang.String functionName)TValueexecuteLines(TMemory memory, java.util.List<StringLocated> body, TFunctionType ftype, boolean modeSpecial)java.lang.StringextractFromResultList(int n1)java.util.List<StringLocated>getDebug()java.util.Set<FileWithSuffix>getFilesUsedCurrent()FileWithSuffixgetFileWithSuffix(java.lang.String from, java.lang.String realName)TFunctiongetFunctionSmart(TFunctionSignature signature)java.util.List<StringLocated>getResultList()booleanisLegacyDefine(java.lang.String functionName)booleanisUnquoted(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 EaterException
- Throws:
EaterException
-
applyFunctionsAndVariables
public java.lang.String applyFunctionsAndVariables(TMemory memory, StringLocated str) throws EaterException
- Throws:
EaterException
-
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)
-
-