mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-08-06 20:45:12 -06:00
19 lines
419 B
C#
19 lines
419 B
C#
using System;
|
|
using System.Linq;
|
|
using System.Collections.Generic;
|
|
|
|
namespace PGFSharp
|
|
{
|
|
public class FunctionExpr : Expr
|
|
{
|
|
public override R Accept<R> (IVisitor<R> visitor)
|
|
{
|
|
return visitor.VisitApplication (Name, new Expr[] {});
|
|
}
|
|
|
|
internal FunctionExpr (IntPtr expr, NativeGU.NativeMemoryPool pool) : base(expr,pool) {}
|
|
public string Name => Native.NativeString.StringFromNativeUtf8(DataPtr);
|
|
}
|
|
}
|
|
|