Beispiel #1
0
 internal CallExpressionSyntax(SyntaxToken identifier, SyntaxToken leftParenthesis, SeperatedSyntaxList <ExpressionSyntax> arguments, SyntaxToken rightParenthesis, bool isValid, TextLocation location) : base(isValid, location)
 {
     Identifier       = identifier;
     LeftParenthesis  = leftParenthesis;
     Arguments        = arguments;
     RightParenthesis = rightParenthesis;
 }
Beispiel #2
0
 internal FunctionDeclarationSyntax(SyntaxToken functionKeyword, SyntaxToken identifier, SyntaxToken leftParenthesis, SeperatedSyntaxList <ParameterSyntax> parameters, SyntaxToken rightParenthesis, TypeClauseSyntax returnType, BlockStatmentSyntax body, bool isValid, TextLocation location) : base(isValid, location)
 {
     FunctionKeyword  = functionKeyword;
     Identifier       = identifier;
     LeftParenthesis  = leftParenthesis;
     Parameters       = parameters;
     RightParenthesis = rightParenthesis;
     ReturnType       = returnType;
     Body             = body;
 }