예제 #1
0
 internal static SExpression Create(Lexer.Token head)
 {
     return(new SExpression
     {
         IsCall = false,
         Head = head,
         Tail = Array.Empty <SExpression>()
     });
 }
예제 #2
0
 internal static SExpression Create(Lexer.Token head, IReadOnlyList <SExpression> tail)
 {
     return(new SExpression
     {
         IsCall = true,
         Head = head,
         Tail = tail
     });
 }