コード例 #1
0
 public void setNodeCommand(IParseTree node, Command value)
 {
     nodeCmd.Put(node, value);
 }
コード例 #2
0
ファイル: Command.cs プロジェクト: paulochang/DecafIde
 /// <summary>
 /// Configures a single command as part of the current template.
 /// </summary>
 /// <param name="theCommandList">The Command List</param>
 public void setSingleCommand(Command theCommand)
 {
     setPlaceholder(theCommand.getInheritedTemplateName(), theCommand.getGenCode());
 }