Loyc.Syntax.LNodeFactory.Call C# (CSharp) Method

Call() public method

public Call ( LNode target ) : LNode
target LNode
return LNode
		public LNode Call(LNode target, params LNode[] list)
		{
			return new StdComplexCallNode(target, new VList<LNode>(list), new SourceRange(_file));
		}
		public LNode Call(LNode target, LNode[] list, int startIndex = -1, int endIndex = -1)

Same methods

LNodeFactory::Call ( LNode target, IEnumerable args, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( LNode target, LNode _1, LNode _2, LNode _3, LNode _4, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( LNode target, LNode _1, LNode _2, LNode _3, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( LNode target, LNode _1, LNode _2, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( LNode target, LNode _1, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( LNode target, VList args, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( LNode target, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( Symbol target ) : LNode
LNodeFactory::Call ( Symbol target, IEnumerable args, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( Symbol target, LNode _1, LNode _2, LNode _3, LNode _4, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( Symbol target, LNode _1, LNode _2, LNode _3, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( Symbol target, LNode _1, LNode _2, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( Symbol target, LNode _1, LNode _2, int startIndex, int endIndex, int targetStart, int targetEnd, NodeStyle style = NodeStyle.Default ) : LNode
LNodeFactory::Call ( Symbol target, LNode _1, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( Symbol target, LNode _1, int startIndex, int endIndex, int targetStart, int targetEnd, NodeStyle style = NodeStyle.Default ) : LNode
LNodeFactory::Call ( Symbol target, VList args, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( Symbol target, VList args, int startIndex, int endIndex, int targetStart, int targetEnd, NodeStyle style = NodeStyle.Default ) : LNode
LNodeFactory::Call ( Symbol target, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( Symbol target, int startIndex, int endIndex, int targetStart, int targetEnd, NodeStyle style = NodeStyle.Default ) : LNode
LNodeFactory::Call ( Token target, IEnumerable args, int startIndex = -1, int endIndex = -1, NodeStyle style = NodeStyle.Default ) : LNode
LNodeFactory::Call ( Token target, LNode _1, LNode _2, int startIndex = -1, int endIndex = -1, NodeStyle style = NodeStyle.Default ) : LNode
LNodeFactory::Call ( Token target, LNode _1, int startIndex = -1, int endIndex = -1, NodeStyle style = NodeStyle.Default ) : LNode
LNodeFactory::Call ( Token target, VList args, int startIndex = -1, int endIndex = -1, NodeStyle style = NodeStyle.Default ) : LNode
LNodeFactory::Call ( Token target, int startIndex = -1, int endIndex = -1, NodeStyle style = NodeStyle.Default ) : LNode
LNodeFactory::Call ( string target ) : LNode
LNodeFactory::Call ( string target, IEnumerable args, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( string target, LNode _1, LNode _2, LNode _3, LNode _4, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( string target, LNode _1, LNode _2, LNode _3, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( string target, LNode _1, LNode _2, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( string target, LNode _1, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( string target, VList args, int startIndex = -1, int endIndex = -1 ) : LNode
LNodeFactory::Call ( string target, int startIndex = -1, int endIndex = -1 ) : LNode

Usage Example

示例#1
0
 static void AddCapture(MMap <Symbol, LNode> captures, LNode cap, Slice_ <LNode> items)
 {
     Debug.Assert(cap.Calls(S.Substitute, 1) && cap.Args.Last.IsId);
     if (items.Count == 1)
     {
         AddCapture(captures, cap.Args.Last.Name, items[0]);
     }
     else
     {
         AddCapture(captures, cap.Args.Last.Name, F.Call(S.Splice, items));
     }
 }
All Usage Examples Of Loyc.Syntax.LNodeFactory::Call