Table of Contents

Class FunctionStmt

Namespace
TabScript
Assembly
TableScript.dll

Statement that represents a function

public abstract record FunctionStmt : Stmt, IEquatable<Stmt>, IEquatable<FunctionStmt>
Inheritance
FunctionStmt
Implements
Derived
Inherited Members

Constructors

FunctionStmt(string, string[], int)

Statement that represents a function

protected FunctionStmt(string identifier, string[] pars, int line)

Parameters

identifier string
pars string[]
line int

Properties

arity

public int arity { get; }

Property Value

int

identifier

public string identifier { get; init; }

Property Value

string

pars

public string[] pars { get; init; }

Property Value

string[]

Methods

ToTabFunc(string, string)

public abstract TabFunc ToTabFunc(string import, string filename)

Parameters

import string
filename string

Returns

TabFunc