Ejemplo n.º 1
0
 public static NamespaceDeclaration CreateLanguageNamespace(this IEnumerable <UstNode> members, Language language, FileNode fileNode)
 {
     return(new NamespaceDeclaration(new StringLiteral(language.ToString()), members, language, members.GetTextSpan(), fileNode));
 }
Ejemplo n.º 2
0
 public static NamespaceDeclaration CreateLanguageNamespace(this UstNode member, Language language, FileNode fileNode)
 {
     return(new NamespaceDeclaration(new StringLiteral(language.ToString()), new UstNode[] { member }, language, member.TextSpan, fileNode));
 }
Ejemplo n.º 3
0
 protected UstNode(TextSpan textSpan, FileNode fileNode)
     : this(textSpan)
 {
     FileNode = fileNode;
 }