public printer(Config Config = default, ref ptr <token.FileSet> fset = default, slice <byte> output = default, long indent = default, long level = default, pmode mode = default, bool endAlignment = default, bool impliedSemi = default, token.Token lastTok = default, token.Token prevOpen = default, slice <whiteSpace> wsbuf = default, token.Position pos = default, token.Position @out = default, token.Position last = default, ref ptr <long> linePtr = default, slice <ptr <ast.CommentGroup> > comments = default, bool useNodeComments = default, commentInfo commentInfo = default, map <ast.Node, long> nodeSizes = default, token.Pos cachedPos = default, long cachedLine = default) { this.m_ConfigRef = new ptr <Config>(Config); this.fset = fset; this.output = output; this.indent = indent; this.level = level; this.mode = mode; this.endAlignment = endAlignment; this.impliedSemi = impliedSemi; this.lastTok = lastTok; this.prevOpen = prevOpen; this.wsbuf = wsbuf; this.pos = pos; this.@out = @out; this.last = last; this.linePtr = linePtr; this.comments = comments; this.useNodeComments = useNodeComments; this.m_commentInfoRef = new ptr <commentInfo>(commentInfo); this.nodeSizes = nodeSizes; this.cachedPos = cachedPos; this.cachedLine = cachedLine; }
// Add adds an Error with given position and error message to an ErrorList. private static void Add(this ptr <ErrorList> _addr_p, token.Position pos, @string msg) { ref ErrorList p = ref _addr_p.val;
public Error(token.Position Pos = default, @string Msg = default) { this.Pos = Pos; this.Msg = Msg; }
public pos2(token.Position p1 = default, token.Position p2 = default) { this.p1 = p1; this.p2 = p2; }
public commentListReader(ref ptr <token.FileSet> fset = default, slice <ptr <CommentGroup> > list = default, long index = default, ref ptr <CommentGroup> comment = default, token.Position pos = default, token.Position end = default) { this.fset = fset; this.list = list; this.index = index; this.comment = comment; this.pos = pos; this.end = end; }