Exemple #1
0
 public FunctionCallSyntax(TokenSyntax identifier, TokenSyntax leftParen, SeperatedSyntaxList <ExpressionSyntax> parameters, TokenSyntax rightParen)
 {
     Identifier = identifier;
     LeftParen  = leftParen;
     Parameters = parameters;
     RightParen = rightParen;
 }
Exemple #2
0
 public VariableIndexerSyntax(ExpressionSyntax item, TokenSyntax leftBracket, ExpressionSyntax expression, TokenSyntax rightBracket)
 {
     Item         = item;
     LeftBracket  = leftBracket;
     Expression   = expression;
     RightBracket = rightBracket;
 }
Exemple #3
0
 public ArraySyntax(TokenSyntax arrayToken, TokenSyntax leftParen, SeperatedSyntaxList <ExpressionSyntax> values, TokenSyntax rightParen)
 {
     ArrayToken = arrayToken;
     LeftParen  = leftParen;
     Values     = values;
     RightParen = rightParen;
 }
Exemple #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;
 }
 public VariableSyntax(TokenSyntax identifierToken)
 {
     IdentifierToken = identifierToken;
 }
Exemple #7
0
 public UnaryExpressionSyntax(TokenSyntax opToken, ExpressionSyntax expression)
 {
     OpToken    = opToken;
     Expression = expression;
 }
 public AccessorSyntax(AccessorExpressionSyntax item, TokenSyntax dot, AccessorSyntax rest)
 {
     Item = item;
     Dot  = dot;
     Rest = rest;
 }
Exemple #9
0
 public LiteralSyntax(TokenSyntax literalToken, object value)
 {
     LiteralToken = literalToken;
     Value        = value;
 }
Exemple #10
0
 public BinaryExpressionSyntax(ExpressionSyntax leftStntax, TokenSyntax opToken, ExpressionSyntax rightSyntax)
 {
     LeftSyntax  = leftStntax;
     OpToken     = opToken;
     RightSyntax = rightSyntax;
 }
Exemple #11
0
 public TupleSyntax(TokenSyntax leftParen, SeperatedSyntaxList <ExpressionSyntax> items, TokenSyntax rightParen)
 {
     LeftParen  = leftParen;
     Items      = items;
     RightParen = rightParen;
 }