Exemplo n.º 1
0
 public override string ToString(string indent, bool last)
 {
     return(indent + NodePrefix(last) + Type + "\r\n" +
            DeclSpec.ToString(indent + ChildrenPrefix(last), false) +
            Declarator.ToString(indent + ChildrenPrefix(last), false) +
            DeclList.ToString(indent + ChildrenPrefix(last), false) +
            CompoundStat.ToString(indent + ChildrenPrefix(last), true));
 }
Exemplo n.º 2
0
 private void Run(DeclSpec[] declSpecs, Declarator decl)
 {
     var ndte = new NamedDataTypeExtractor(declSpecs, parserState);
     this.nt = ndte.GetNameAndType(decl);
 }
Exemplo n.º 3
0
 private void Run(DeclSpec[] declSpecs, Declarator decl)
 {
     var ndte = new NamedDataTypeExtractor(platform, declSpecs, symbolTable);
     this.nt = ndte.GetNameAndType(decl);
 }