Class FunctionGraph
Represents a single user-defined function and all the functions that implement it.
Inheritance
System.Object
FunctionGraph
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fluency.Execution.Parsing.Entities.FunctionGraph
Assembly: Execution.dll
Syntax
public class FunctionGraph
Constructors
| Improve this Doc View SourceFunctionGraph(IEnumerable<IEnumerable<FunctionToken>>)
Create a new function graph. This takes an IEnumerable of tokenized lines (which are themselves IEnumerables of tokens).
Declaration
public FunctionGraph(IEnumerable<IEnumerable<FunctionToken>> tokens)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<FunctionToken>> | tokens |
Properties
| Improve this Doc View SourceBottomArguments
The bottom arguments this function has declared.
Declaration
public FunctionArg[] BottomArguments { get; }
Property Value
| Type | Description |
|---|---|
| FunctionArg[] |
Head
The root node of the function. This is the Def() function.
Declaration
public FunctionNode Head { get; }
Property Value
| Type | Description |
|---|---|
| FunctionNode |
Name
Name of the function this graph represents.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
TopArguments
The top arguments this function has declared.
Declaration
public FunctionArg[] TopArguments { get; }
Property Value
| Type | Description |
|---|---|
| FunctionArg[] |