public parser(ref ptr <token.File> file = default, scanner.ErrorList errors = default, scanner.Scanner scanner = default, Mode mode = default, bool trace = default, long indent = default, slice <ptr <ast.CommentGroup> > comments = default, ref ptr <ast.CommentGroup> leadComment = default, ref ptr <ast.CommentGroup> lineComment = default, token.Pos pos = default, token.Token tok = default, @string lit = default, token.Pos syncPos = default, long syncCnt = default, long exprLev = default, bool inRhs = default, ref ptr <ast.Scope> pkgScope = default, ref ptr <ast.Scope> topScope = default, slice <ptr <ast.Ident> > unresolved = default, slice <ptr <ast.ImportSpec> > imports = default, ref ptr <ast.Scope> labelScope = default, slice <slice <ptr <ast.Ident> > > targetStack = default) { this.file = file; this.errors = errors; this.scanner = scanner; this.mode = mode; this.trace = trace; this.indent = indent; this.comments = comments; this.leadComment = leadComment; this.lineComment = lineComment; this.pos = pos; this.tok = tok; this.lit = lit; this.syncPos = syncPos; this.syncCnt = syncCnt; this.exprLev = exprLev; this.inRhs = inRhs; this.pkgScope = pkgScope; this.topScope = topScope; this.unresolved = unresolved; this.imports = imports; this.labelScope = labelScope; this.targetStack = targetStack; }
public pkgBuilder(ref ptr <token.FileSet> fset = default, scanner.ErrorList errors = default) { this.fset = fset; this.errors = errors; }