vox.fe.ast.type.basic

Members

Enums

BasicType
enum BasicType
Undocumented in source.
BasicTypeFlag
enum BasicTypeFlag
Undocumented in source.
TypeConvResKind
enum TypeConvResKind
Undocumented in source.

Functions

allowExplicitOnly
TypeConvResKind allowExplicitOnly(TypeConvResKind kind)
Undocumented in source. Be warned that the author may not have intended to support it.
argSizeIntSigned
IrArgSize argSizeIntSigned(long value)
Undocumented in source. Be warned that the author may not have intended to support it.
argSizeIntUnsigned
IrArgSize argSizeIntUnsigned(ulong value)
Undocumented in source. Be warned that the author may not have intended to support it.
canConvertImplicitly
bool canConvertImplicitly(TypeConvResKind kind)
Undocumented in source. Be warned that the author may not have intended to support it.
common_type_basic
CommonTypeResult common_type_basic(BasicTypeNode* node, AstIndex typeBIndex, AstIndex leftExpr, AstIndex rightExpr, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
gen_ir_type_basic
IrIndex gen_ir_type_basic(BasicTypeNode* t, CompilationContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
integerSize
ubyte integerSize(BasicType b)
Undocumented in source. Be warned that the author may not have intended to support it.
isBasicTypeToken
bool isBasicTypeToken(TokenType tt)
Undocumented in source. Be warned that the author may not have intended to support it.
isBoolean
bool isBoolean(BasicType b)
Undocumented in source. Be warned that the author may not have intended to support it.
isFloat
bool isFloat(BasicType b)
Undocumented in source. Be warned that the author may not have intended to support it.
isInteger
bool isInteger(BasicType b)
Undocumented in source. Be warned that the author may not have intended to support it.
isNoop
bool isNoop(TypeConvResKind kind)
Undocumented in source. Be warned that the author may not have intended to support it.
isSignedInteger
bool isSignedInteger(BasicType b)
Undocumented in source. Be warned that the author may not have intended to support it.
isUnsignedInteger
bool isUnsignedInteger(BasicType b)
Undocumented in source. Be warned that the author may not have intended to support it.
minSignedIntType
BasicType minSignedIntType(long value)
Undocumented in source. Be warned that the author may not have intended to support it.
minUnsignedIntType
BasicType minUnsignedIntType(ulong value)
Undocumented in source. Be warned that the author may not have intended to support it.
numSignedBytesForInt
ubyte numSignedBytesForInt(long value)
Undocumented in source. Be warned that the author may not have intended to support it.
numUnsignedBytesForInt
ubyte numUnsignedBytesForInt(ulong value)
Undocumented in source. Be warned that the author may not have intended to support it.
print_type_basic
void print_type_basic(BasicTypeNode* node, AstPrintState state)
Undocumented in source. Be warned that the author may not have intended to support it.
successful
bool successful(TypeConvResKind kind)
Undocumented in source. Be warned that the author may not have intended to support it.
tokenTypeToBasicType
BasicType tokenTypeToBasicType(TokenType tt)
Undocumented in source. Be warned that the author may not have intended to support it.
type_conv_basic
TypeConvResKind type_conv_basic(BasicTypeNode* node, AstIndex typeBIndex, AstIndex expr, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

NumBasicTypeNodeSlots
enum NumBasicTypeNodeSlots;
Undocumented in source.

Structs

BasicTypeNode
struct BasicTypeNode
Undocumented in source.

Variables

basicConversionKind
TypeConvResKind[BasicType.max + 1][BasicType.max + 1] basicConversionKind;
Undocumented in source.
basicTypeNames
string[BasicType.max + 1] basicTypeNames;
Undocumented in source.
commonBasicType
BasicType[BasicType.max + 1][BasicType.max + 1] commonBasicType;
Undocumented in source.

Meta

Authors

Andrey Penechko.