blob: 900c605a0eb40522dde61f2165872830af36f9fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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);
}
}
|