Show / Hide Table of Contents

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 Source

FunctionGraph(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 Source

BottomArguments

The bottom arguments this function has declared.

Declaration
public FunctionArg[] BottomArguments { get; }
Property Value
Type Description
FunctionArg[]
| Improve this Doc View Source

Head

The root node of the function. This is the Def() function.

Declaration
public FunctionNode Head { get; }
Property Value
Type Description
FunctionNode
| Improve this Doc View Source

Name

Name of the function this graph represents.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TopArguments

The top arguments this function has declared.

Declaration
public FunctionArg[] TopArguments { get; }
Property Value
Type Description
FunctionArg[]
  • Improve this Doc
  • View Source
Back to top Generated by DocFX