Esempio 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));
 }
Esempio 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));
 }
Esempio n. 3
0
 protected UstNode(TextSpan textSpan, FileNode fileNode)
     : this(textSpan)
 {
     FileNode = fileNode;
 }