Documentation
¶
Index ¶
- Constants
- Variables
- func AsId(id string) string
- func AsTypeId(id string) string
- func IsIgnoreId(id string) bool
- func IsValidHeader(ext string) bool
- func OutId(id string, f *jnio.File) string
- func ToConcurrentCall(expr string) string
- func ToDeferredCall(expr string) string
- func ToRawStr(bytes []byte) string
- func ToRune(bytes []byte) string
- func ToStr(bytes []byte) string
Constants ¶
View Source
const ( // ignoring of cpp CppIgnore = "std::ignore" // self keyword equavalent of cpp CppSelf = "this" )
View Source
const DefaultExpr = "{}"
View Source
const Ignore = "_"
ignore operator
View Source
const InitializerCaller = "__jnc_call_package_initializers"
initializer caller identifier
Variables ¶
View Source
var CppHeaderExtensions = []string{
".h",
".hpp",
".hxx",
".hh",
}
header are valid extension of cpp header
View Source
var JNCHeader = ""
hader path of "jnc.hpp"
Functions ¶
func IsValidHeader ¶
valid header return true if the extesion valid, false if not
func ToConcurrentCall ¶
return of concurrent function call expression string
func ToDeferredCall ¶
return cpp of defer function call expression string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.