Class TableScript
- Namespace
- TabScript
- Assembly
- TableScript.dll
public class TableScript
- Inheritance
-
TableScript
- Inherited Members
Fields
OnReport
public Action<TabScriptException> OnReport
Field Value
Properties
body
public Snippet body { get; }
Property Value
functions
public TabFunc[] functions { get; }
Property Value
- TabFunc[]
Methods
FromSource(string, string)
public static TableScript FromSource(string filename, string src)
Parameters
Returns
FromSource(string, string, IImportResolver)
public static TableScript FromSource(string filename, string src, IImportResolver ir)
Parameters
filenamestringsrcstringirIImportResolver
Returns
FromSource(string, string, IImportResolver, Action<TabScriptException>)
public static TableScript FromSource(string filename, string src, IImportResolver ir, Action<TabScriptException> report)
Parameters
filenamestringsrcstringirIImportResolverreportAction<TabScriptException>
Returns
Run(IEnumerable<string>)
public void Run(IEnumerable<string> args)
Parameters
argsIEnumerable<string>
Run(Table)
public void Run(Table args = null)
Parameters
argsTable
SourceAsImport(string, string)
public static ResolvedImport SourceAsImport(string filename, string src)
Parameters
Returns
SourceAsImport(string, string, Action<TabScriptException>)
public static ResolvedImport SourceAsImport(string filename, string src, Action<TabScriptException> report)
Parameters
filenamestringsrcstringreportAction<TabScriptException>
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.