mirror of
https://github.com/Cekis/SWG-ScriptConverter.git
synced 2026-01-16 22:04:29 -05:00
26 lines
583 B
C#
26 lines
583 B
C#
using ScriptConverter.Parser;
|
|
|
|
namespace ScriptConverter.Ast.Declarations
|
|
{
|
|
class InheritsDeclaration : Declaration
|
|
{
|
|
public string Name { get; private set; }
|
|
|
|
public InheritsDeclaration(ScriptToken start, ScriptToken end, string name)
|
|
: base(start, end)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
public override TDecl Accept<TDoc, TDecl, TStmt, TExpr>(IAstVisitor<TDoc, TDecl, TStmt, TExpr> visitor)
|
|
{
|
|
return visitor.Visit(this);
|
|
}
|
|
|
|
public override void SetParent()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|