Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.112.0

overview

Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.

dmd.backend.cc

Common definitions
Compiler implementation of theD programming language.
Authors:
Walter Bright
License:
Boost License 1.0

Sourcebackend/cc.d

structSrcpos;
Position in source file
pure nothrow @safe voidset(const(char)*filename, uintlinnum, intcharnum);
Set fields of Srcpos
Parameters:
const(char)*filenamefile name
uintlinnumline number
intcharnumcharacter number
structPstate;
Current 'state' of the compiler. Used to gather together most global variables. This struct is saved/restored during function body parsing.
structCstate;
Global variables.
aliasClassDeclaration_ = void*;
Basic blocks: Basic blocks are a linked list of all the basic blocks in a function. startblock heads the list.
structBlockState;
While constructing a block list, BlockState maintains the global state needed to construct that list.
enumBC: ubyte;
Basic block control flow operators.
structBlockRange;
Range for blocks.
aliasfunc_flags_t = uint;
Functions
structbaseclass_t;
Base classes are a list of these.
aliasenum_flags_t = uint;
Special information for enums.
aliasstruct_flags_t = uint;
Special information for structs.
nothrow @nogc @trusted inout(Symbol)*list_symbol(inout list_tlst);
Symbol Table
aliaspflags_t = uint;
Function parameters: Pident identifier of parameter Ptype type of argument Pelem default value for argument Psym symbol corresponding to Pident when using the parameter list as a symbol table For template-parameter-list: Pident identifier of parameter Ptype if NULL, this is a type-parameter else the type for a parameter-declaration value argument Pelem default value for value argument Pdeftype default value for type-parameter Pptpl template-parameter-list for template-template-parameter Psym default value for template-template-parameter For template-arg-list: (actual arguments) Pident NULL Ptype type-name Pelem expression (either Ptype or Pelem is NULL) Psym SCtemplate for template-template-argument
nothrow @nogc @trusted EHmethodehmethod(Symbol*f);
Parameters:
Symbol*ffunction symbol
Returns:
exception method for f
enumFL: ubyte;
Element types. These should be combined with storage classes.
structEEcontext;
Srcfiles
This is to support compiling expressions within the context of a function.
structdt_t;
Data definitions DTibytes 1..7 bytes DTabytes offset of bytes of data a { a data bytes } DTnbytes bytes of data a { a data bytes } a = offset DTazeros # of 0 bytes a DTsymsize same as DTazeros, but the type of the symbol gives the size DTcommon # of 0 bytes (in a common block) a DTxoff offset from symbol w a w = symbol number (pointer for CPP) a = offset DTcoff offset into code segment
Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Sat Feb 21 00:05:11 2026

[8]ページ先頭

©2009-2026 Movatter.jp