std.zig.Ast.alignedVarDecl
pub fn alignedVarDecl(tree: Ast, node: Node.Index) full.VarDecl
- Kind
- function
- Module
std.zig.Ast
Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The entries of std.zig.Ast in the Zig reference. This page has 190 cards.
pub fn alignedVarDecl(tree: Ast, node: Node.Index) full.VarDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn arrayInit(tree: Ast, node: Node.Index) full.ArrayInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn arrayInitDot(tree: Ast, node: Node.Index) full.ArrayInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn arrayInitDotTwo(tree: Ast, buffer: *[2]Node.Index, node: Node.Index) full.ArrayInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn arrayInitOne(tree: Ast, buffer: *[1]Node.Index, node: Node.Index) full.ArrayInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn arrayType(tree: Ast, node: Node.Index) full.ArrayType
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn arrayTypeSentinel(tree: Ast, node: Node.Index) full.ArrayType
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn asmFull(tree: Ast, node: Node.Index) full.Asm
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn asmSimple(tree: Ast, node: Node.Index) full.Asm
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn assignDestructure(tree: Ast, node: Node.Index) full.AssignDestructure
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn blockStatements(tree: Ast, buffer: *[2]Ast.Node.Index, node: Ast.Node.Index) ?[]const Node.Index
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn builtinCallParams(tree: Ast, buffer: *[2]Ast.Node.Index, node: Ast.Node.Index) ?[]const Node.Index
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn callFull(tree: Ast, node: Node.Index) full.Call
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn callOne(tree: Ast, buffer: *[1]Node.Index, node: Node.Index) full.Call
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn containerDecl(tree: Ast, node: Node.Index) full.ContainerDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn containerDeclArg(tree: Ast, node: Node.Index) full.ContainerDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn containerDeclRoot(tree: Ast) full.ContainerDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn containerDeclTwo(tree: Ast, buffer: *[2]Node.Index, node: Node.Index) full.ContainerDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn containerField(tree: Ast, node: Node.Index) full.ContainerField
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn containerFieldAlign(tree: Ast, node: Node.Index) full.ContainerField
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn containerFieldInit(tree: Ast, node: Node.Index) full.ContainerField
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn deinit(tree: *Ast, gpa: Allocator) void
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn errorOffset(tree: Ast, parse_error: Error) u32
Returns an extra offset for column and byte offset of errors that should point after the token in the error message.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn extraData(tree: Ast, index: ExtraIndex, comptime T: type) T
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn extraDataSlice(tree: Ast, range: Node.SubRange, comptime T: type) []const T
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn extraDataSliceWithLen(tree: Ast, start: ExtraIndex, len: u32, comptime T: type) []const T
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Index into `extra_data`.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn firstToken(tree: Ast, node: Node.Index) TokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fnProto(tree: Ast, node: Node.Index) full.FnProto
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fnProtoMulti(tree: Ast, node: Node.Index) full.FnProto
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fnProtoOne(tree: Ast, buffer: *[1]Node.Index, node: Node.Index) full.FnProto
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fnProtoSimple(tree: Ast, buffer: *[1]Node.Index, node: Node.Index) full.FnProto
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn forFull(tree: Ast, node: Node.Index) full.For
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn forSimple(tree: Ast, node: Node.Index) full.For
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Fully assembled AST node information.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn convertToNonTupleLike(cf: *ContainerField, tree: *const Ast) void
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn firstToken(cf: ContainerField) TokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn firstToken(fn_proto: FnProto) TokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn iterate(fn_proto: *const FnProto, tree: *const Ast) Iterator
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Abstracts over the fact that anytype and ... are not included in the params slice, since they are simple identifiers and not sub-expressions.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn next(it: *Iterator) ?Param
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn firstToken(var_decl: VarDecl) TokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullArrayInit(tree: Ast, buffer: *[2]Node.Index, node: Node.Index) ?full.ArrayInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullArrayType(tree: Ast, node: Node.Index) ?full.ArrayType
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullAsm(tree: Ast, node: Node.Index) ?full.Asm
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullCall(tree: Ast, buffer: *[1]Ast.Node.Index, node: Node.Index) ?full.Call
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullContainerDecl(tree: Ast, buffer: *[2]Ast.Node.Index, node: Node.Index) ?full.ContainerDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullContainerField(tree: Ast, node: Node.Index) ?full.ContainerField
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullFnProto(tree: Ast, buffer: *[1]Ast.Node.Index, node: Node.Index) ?full.FnProto
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullFor(tree: Ast, node: Node.Index) ?full.For
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullIf(tree: Ast, node: Node.Index) ?full.If
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullPtrType(tree: Ast, node: Node.Index) ?full.PtrType
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullSlice(tree: Ast, node: Node.Index) ?full.Slice
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullStructInit(tree: Ast, buffer: *[2]Ast.Node.Index, node: Node.Index) ?full.StructInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullSwitch(tree: Ast, node: Node.Index) ?full.Switch
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullSwitchCase(tree: Ast, node: Node.Index) ?full.SwitchCase
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullVarDecl(tree: Ast, node: Node.Index) ?full.VarDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fullWhile(tree: Ast, node: Node.Index) ?full.While
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn getNodeSource(tree: Ast, node: Node.Index) []const u8
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn globalVarDecl(tree: Ast, node: Node.Index) full.VarDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn ifFull(tree: Ast, node: Node.Index) full.If
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn ifSimple(tree: Ast, node: Node.Index) full.If
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn isTokenPrecededByTags(tree: *const Ast, ti: TokenIndex, expected_token_tags: []const Token.Tag) bool
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn lastToken(tree: Ast, node: Node.Index) TokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn localVarDecl(tree: Ast, node: Node.Index) full.VarDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Index into `nodes`.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn toOffset(base: Index, destination: Index) Offset
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn toOptional(i: Index) OptionalIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
A relative node index.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn toAbsolute(offset: Offset, base: Index) Index
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn toOptional(o: Offset) OptionalOffset
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Index into `nodes`, or null.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fromOptional(oi: ?Index) OptionalIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn unwrap(oi: OptionalIndex) ?Index
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
A relative node index, or null.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn unwrap(oo: OptionalOffset) ?Offset
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The FooComma/FooSemicolon variants exist to ease the implementation of `Ast.lastToken()`.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn isContainerField(tag: Tag) bool
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn nodeData(tree: *const Ast, node: Node.Index) Node.Data
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn nodeMainToken(tree: *const Ast, node: Node.Index) TokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn nodeTag(tree: *const Ast, node: Node.Index) Node.Tag
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn nodeToSpan(tree: *const Ast, node: Ast.Node.Index) Span
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Index into `tokens`, or null.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fromOptional(oti: ?TokenIndex) OptionalTokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fromToken(ti: TokenIndex) OptionalTokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn unwrap(oti: OptionalTokenIndex) ?TokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
A relative token index, or null.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn unwrap(oto: OptionalTokenOffset) ?TokenOffset
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn parse(gpa: Allocator, source: [:0]const u8, options: ParseOptions) Allocator.Error!Ast
Result should be freed with tree.deinit() when there are no more references to any of the tokens or nodes.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn parseTokens(gpa: Allocator, source: [:0]const u8, tokens: Ast.TokenList.Slice, options: ParseOptions) Allocator.Error!Ast
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn ptrType(tree: Ast, node: Node.Index) full.PtrType
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn ptrTypeAligned(tree: Ast, node: Node.Index) full.PtrType
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn ptrTypeBitRange(tree: Ast, node: Node.Index) full.PtrType
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn ptrTypeSentinel(tree: Ast, node: Node.Index) full.PtrType
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn render(tree: Ast, gpa: Allocator, w: *Writer, fixups: Render.Fixups) Render.Error!void
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn renderAlloc(tree: Ast, gpa: Allocator) error
`gpa` is used for allocating the resulting formatted source code.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn renderError(tree: Ast, parse_error: Error, w: *Writer) Writer.Error!void
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn rootDecls(tree: Ast) []const Node.Index
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn simpleVarDecl(tree: Ast, node: Node.Index) full.VarDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn slice(tree: Ast, node: Node.Index) full.Slice
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn sliceOpen(tree: Ast, node: Node.Index) full.Slice
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn sliceSentinel(tree: Ast, node: Node.Index) full.Slice
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn structInit(tree: Ast, node: Node.Index) full.StructInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn structInitDot(tree: Ast, node: Node.Index) full.StructInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn structInitDotTwo(tree: Ast, buffer: *[2]Node.Index, node: Node.Index) full.StructInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn structInitOne(tree: Ast, buffer: *[1]Node.Index, node: Node.Index) full.StructInit
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn switchCase(tree: Ast, node: Node.Index) full.SwitchCase
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn switchCaseOne(tree: Ast, node: Node.Index) full.SwitchCase
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn switchFull(tree: Ast, node: Node.Index) full.Switch
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn taggedUnion(tree: Ast, node: Node.Index) full.ContainerDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn taggedUnionEnumTag(tree: Ast, node: Node.Index) full.ContainerDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn taggedUnionTwo(tree: Ast, buffer: *[2]Node.Index, node: Node.Index) full.ContainerDecl
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Index into `tokens`.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn tokenLocation(self: Ast, start_offset: ByteOffset, token_index: TokenIndex) Location
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
A relative token index.
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn init(base: TokenIndex, destination: TokenIndex) TokenOffset
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn toAbsolute(offset: TokenOffset, base: TokenIndex) TokenIndex
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn toOptional(to: TokenOffset) OptionalTokenOffset
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn tokenSlice(tree: Ast, token_index: TokenIndex) []const u8
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn tokensOnSameLine(tree: Ast, token1: TokenIndex, token2: TokenIndex) bool
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn tokenStart(tree: *const Ast, token_index: TokenIndex) ByteOffset
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn tokensToSpan(tree: *const Ast, start: Ast.TokenIndex, end: Ast.TokenIndex, main: Ast.TokenIndex) Span
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn tokenTag(tree: *const Ast, token_index: TokenIndex) Token.Tag
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn tokenToSpan(tree: *const Ast, token: Ast.TokenIndex) Span
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn whileCont(tree: Ast, node: Node.Index) full.While
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn whileFull(tree: Ast, node: Node.Index) full.While
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn whileSimple(tree: Ast, node: Node.Index) full.While
std.zig.AstSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.