Esempio n. 1
0
 internal VectorExpression(
     SymbolTable symbols,
     YacqList elements
 )
     : base(symbols, elements)
 {
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a <see cref="LambdaListExpression"/> that represents the lambda list to be <see cref="AmbiguousLambdaExpression"/>.
 /// </summary>
 /// <param name="symbols">The symbol table for the expression.</param>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="LambdaListExpression"/> that has specified elements.</returns>
 public static LambdaListExpression LambdaList(
     SymbolTable symbols,
     YacqList elements
     )
 {
     return(new LambdaListExpression(symbols, elements));
 }
Esempio n. 3
0
 internal VectorExpression(
     SymbolTable symbols,
     YacqList elements
     )
     : base(symbols, elements)
 {
 }
Esempio n. 4
0
 internal LambdaListExpression(
     SymbolTable symbols,
     YacqList elements
     )
     : base(symbols, elements)
 {
 }
Esempio n. 5
0
 internal LambdaListExpression(
     SymbolTable symbols,
     YacqList elements
 )
     : base(symbols, elements)
 {
 }
Esempio n. 6
0
 /// <summary>
 /// Creates a <see cref="LambdaListExpression"/> that represents the lambda list to be <see cref="AmbiguousLambdaExpression"/>.
 /// </summary>
 /// <param name="symbols">The symbol table for the expression.</param>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="LambdaListExpression"/> that has specified elements.</returns>
 public static LambdaListExpression LambdaList(
     SymbolTable symbols,
     IEnumerable <Expression> elements
     )
 {
     return(LambdaList(
                symbols,
                YacqList.Create(elements)
                ));
 }
Esempio n. 7
0
 /// <summary>
 /// Creates a <see cref="VectorExpression"/> that represents the vector.
 /// </summary>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="VectorExpression"/> that has specified elements.</returns>
 public static VectorExpression Vector(YacqList elements)
 {
     return Vector(null, elements);
 }
Esempio n. 8
0
 /// <summary>
 /// Creates a <see cref="VectorExpression"/> that represents the vector.
 /// </summary>
 /// <param name="symbols">The symbol table for the expression.</param>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="VectorExpression"/> that has specified elements.</returns>
 public static VectorExpression Vector(SymbolTable symbols, YacqList elements)
 {
     return new VectorExpression(symbols, elements);
 }
Esempio n. 9
0
 /// <summary>
 /// Creates a <see cref="ListExpression"/> that represents the list.
 /// </summary>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="ListExpression"/> that has specified elements.</returns>
 public static ListExpression List(YacqList elements)
 {
     return List(null, elements);
 }
Esempio n. 10
0
 /// <summary>
 /// Creates a <see cref="ListExpression"/> that represents the list.
 /// </summary>
 /// <param name="symbols">The symbol table for the expression.</param>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="ListExpression"/> that has specified elements.</returns>
 public static ListExpression List(SymbolTable symbols, YacqList elements)
 {
     return new ListExpression(symbols, elements);
 }
Esempio n. 11
0
 /// <summary>
 /// Creates a <see cref="VectorExpression"/> that represents the vector.
 /// </summary>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="VectorExpression"/> that has specified elements.</returns>
 public static VectorExpression Vector(YacqList elements)
 {
     return(Vector(null, elements));
 }
Esempio n. 12
0
 /// <summary>
 /// Creates a <see cref="VectorExpression"/> that represents the vector.
 /// </summary>
 /// <param name="symbols">The symbol table for the expression.</param>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="VectorExpression"/> that has specified elements.</returns>
 public static VectorExpression Vector(SymbolTable symbols, IEnumerable <Expression> elements)
 {
     return(Vector(symbols, YacqList.Create(elements)));
 }
Esempio n. 13
0
 /// <summary>
 /// Creates a <see cref="VectorExpression"/> that represents the vector.
 /// </summary>
 /// <param name="symbols">The symbol table for the expression.</param>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="VectorExpression"/> that has specified elements.</returns>
 public static VectorExpression Vector(SymbolTable symbols, YacqList elements)
 {
     return(new VectorExpression(symbols, elements));
 }
Esempio n. 14
0
 /// <summary>
 /// Creates a <see cref="ListExpression"/> that represents the list.
 /// </summary>
 /// <param name="elements">A sequence of <see cref="Expression"/> objects that represents the elements of the expression.</param>
 /// <returns>A <see cref="ListExpression"/> that has specified elements.</returns>
 public static ListExpression List(YacqList elements)
 {
     return(List(null, elements));
 }
Esempio n. 15
0
 /// <summary>
 /// Constructs a new instance of <see cref="YacqSequenceExpression"/>.
 /// </summary>
 /// <param name="symbols">The symbol table linked with this expression.</param>
 /// <param name="elements">A <see cref="YacqList"/> object that represents the elements of the expression.</param>
 protected YacqSequenceExpression(SymbolTable symbols, YacqList elements)
     : base(symbols)
 {
     this.Elements = elements ?? YacqList.Empty;
     this.SetPosition(this.Elements);
 }
Esempio n. 16
0
 /// <summary>
 /// Constructs a new instance of <see cref="YacqSequenceExpression"/>.
 /// </summary>
 /// <param name="symbols">The symbol table linked with this expression.</param>
 /// <param name="elements">A <see cref="YacqList"/> object that represents the elements of the expression.</param>
 protected YacqSequenceExpression(SymbolTable symbols, YacqList elements)
     : base(symbols)
 {
     this.Elements = elements ?? YacqList.Empty;
     this.SetPosition(this.Elements);
 }