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, StringLocated 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)
PreprocessingArtifact
getPreprocessingArtifact()
java.util.List<StringLocated>
getResultList()
JsonObject
getThemeMetadata()
java.util.Optional<java.lang.String>
getXargs()
Retrieve data given after @startuml.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 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
-
getThemeMetadata
public JsonObject getThemeMetadata()
-
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)
-
getXargs
public java.util.Optional<java.lang.String> getXargs()
Retrieve data given after @startuml.
-
getPreprocessingArtifact
public PreprocessingArtifact getPreprocessingArtifact()
-
-