wayland.scanner.common

Wayland scanner for D. Generation of common protocol code.

Members

Classes

Arg
class Arg
Undocumented in source.
Description
class Description
Undocumented in source.
Enum
class Enum
Undocumented in source.
EnumEntry
class EnumEntry
Undocumented in source.
Interface
class Interface
Undocumented in source.
Message
class Message
Undocumented in source.
Protocol
class Protocol
Undocumented in source.
SourceFile
class SourceFile
Undocumented in source.

Enums

ArgType
enum ArgType
Undocumented in source.

Functions

bracedBlock
void bracedBlock(SourceFile sf)
Undocumented in source. Be warned that the author may not have intended to support it.
buildCamelName
string buildCamelName(string comp, bool tit)

Build a camel name from components

camelName
string camelName(string comp)
Undocumented in source. Be warned that the author may not have intended to support it.
camelName
string camelName(string[] comps)
Undocumented in source. Be warned that the author may not have intended to support it.
getElText
string getElText(Element el)
Undocumented in source. Be warned that the author may not have intended to support it.
ifaceDName
string ifaceDName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
indentStr
string indentStr(int indent)
Undocumented in source. Be warned that the author may not have intended to support it.
indentedBlock
void indentedBlock(SourceFile sf)
Undocumented in source. Be warned that the author may not have intended to support it.
indexSymbol
string indexSymbol(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
qualfiedTypeName
string qualfiedTypeName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
splitLinesForWidth
string splitLinesForWidth(string input, string suffix, string indent, size_t width)
Undocumented in source. Be warned that the author may not have intended to support it.
titleCamelName
string titleCamelName(string comp)
Undocumented in source. Be warned that the author may not have intended to support it.
titleCamelName
string titleCamelName(string[] comps)
Undocumented in source. Be warned that the author may not have intended to support it.
validDName
string validDName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
writeDelegateAlias
void writeDelegateAlias(SourceFile sf, string name, string ret, string[] rtArgs)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFnBody
void writeFnBody(SourceFile sf, string[] preStmts, string mainStmt, string[] exprs, string[] postStmt)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFnExpr
void writeFnExpr(SourceFile sf, string stmt, string[] exprs)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFnPointer
void writeFnPointer(SourceFile sf, string name, string ret, string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFnSig
void writeFnSig(SourceFile sf, string ret, string name, string[] rtArgs, string[] ctArgs, string constraint)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFnSigRaw
void writeFnSigRaw(SourceFile sf, string qualifiers, string ret, string name, string[] rtArgs, string[] ctArgs, string constraint)
Undocumented in source. Be warned that the author may not have intended to support it.
writeMultilineParenthesis
void writeMultilineParenthesis(SourceFile sf, string before, string[] args, string after)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

Factory
interface Factory
Undocumented in source.

Manifest constants

charsPerIndent
enum charsPerIndent;
Undocumented in source.
wrapWidth
enum wrapWidth;
Undocumented in source.

Properties

isNullable
bool isNullable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fact
Factory fact;
Undocumented in source.

Meta