Beispiel #1
0
 public FunctionCallSyntax(TokenSyntax identifier, TokenSyntax leftParen, SeperatedSyntaxList <ExpressionSyntax> parameters, TokenSyntax rightParen)
 {
     Identifier = identifier;
     LeftParen  = leftParen;
     Parameters = parameters;
     RightParen = rightParen;
 }
Beispiel #2
0
 public VariableIndexerSyntax(ExpressionSyntax item, TokenSyntax leftBracket, ExpressionSyntax expression, TokenSyntax rightBracket)
 {
     Item         = item;
     LeftBracket  = leftBracket;
     Expression   = expression;
     RightBracket = rightBracket;
 }
Beispiel #3
0
 public ArraySyntax(TokenSyntax arrayToken, TokenSyntax leftParen, SeperatedSyntaxList <ExpressionSyntax> values, TokenSyntax rightParen)
 {
     ArrayToken = arrayToken;
     LeftParen  = leftParen;
     Values     = values;
     RightParen = rightParen;
 }
Beispiel #4
0
 public AssignmentExpressionSyntax(TokenSyntax identifierToken, TypeDefinitionSyntax definition, TokenSyntax operatorToken, ExpressionSyntax expression)
 {
     IdentifierToken = identifierToken;
     Definition      = definition;
     OperatorToken   = operatorToken;
     Expression      = expression;
 }
 public FunctionDeclarationSyntax(
     TokenSyntax keywToken,
     TokenSyntax identifier,
     TokenSyntax leftParenthesis,
     SeperatedSyntaxList <TypedIdentifierSyntax> parameters,
     TokenSyntax rightParenthesis,
     TypeDefinitionSyntax returnType,
     StatementSyntax body,
     string implicitLabel
     )
 {
     KeywToken        = keywToken;
     Identifier       = identifier;
     LeftParenthesis  = leftParenthesis;
     Parameters       = parameters;
     RightParenthesis = rightParenthesis;
     ReturnType       = returnType;
     Body             = body;
     ImplicitLabel    = implicitLabel;
 }
Beispiel #6
0
 public VariableSyntax(TokenSyntax identifierToken)
 {
     IdentifierToken = identifierToken;
 }
Beispiel #7
0
 public UnaryExpressionSyntax(TokenSyntax opToken, ExpressionSyntax expression)
 {
     OpToken    = opToken;
     Expression = expression;
 }
Beispiel #8
0
 public AccessorSyntax(AccessorExpressionSyntax item, TokenSyntax dot, AccessorSyntax rest)
 {
     Item = item;
     Dot  = dot;
     Rest = rest;
 }
Beispiel #9
0
 public LiteralSyntax(TokenSyntax literalToken, object value)
 {
     LiteralToken = literalToken;
     Value        = value;
 }
Beispiel #10
0
 public BinaryExpressionSyntax(ExpressionSyntax leftStntax, TokenSyntax opToken, ExpressionSyntax rightSyntax)
 {
     LeftSyntax  = leftStntax;
     OpToken     = opToken;
     RightSyntax = rightSyntax;
 }
Beispiel #11
0
 public TupleSyntax(TokenSyntax leftParen, SeperatedSyntaxList <ExpressionSyntax> items, TokenSyntax rightParen)
 {
     LeftParen  = leftParen;
     Items      = items;
     RightParen = rightParen;
 }