public ArgumentListTranslation(ArgumentListSyntax syntax, SyntaxTranslation parent) : base(syntax, parent)
 {
     Arguments = syntax.Arguments.Get <ArgumentSyntax, ArgumentTranslation>(this);
 }
Exemplo n.º 2
0
 public ParameterListTranslation(ParameterListSyntax syntax, SyntaxTranslation parent) : base(syntax, parent)
 {
     Parameters = syntax.Parameters.Get <ParameterSyntax, ParameterTranslation>(this);
 }
        public static SeparatedSyntaxListTranslation <T, TS> Get <T, TS>(this SeparatedSyntaxList <T> syntaxList, SyntaxTranslation parent) where T : SyntaxNode where TS : SyntaxTranslation
        {
            var newList = new SeparatedSyntaxListTranslation <T, TS>(syntaxList, parent);

            return(newList);
        }