コード例 #1
0
 public FunctionDefinitionNode(TypeReferenceNode returnType, string name, FunctionParameterNode[] parameters, BlockNode body, Token token, int tokenIndex) : base(token, tokenIndex)
 {
     Body = body;
     Name = name;
     Parameters = parameters;
     ReturnType = returnType;
 }
コード例 #2
0
 public FunctionDeclarationNode(TypeReferenceNode returnType, string name, FunctionParameterNode[] parameters, Token token, int tokenIndex) : base(token, tokenIndex)
 {
     Name = name;
     Parameters = parameters;
     ReturnType = returnType;
 }