libclang vocabulary - Factor Documentation (original) (raw)

Word

Stack effect

( name type -- c-arg )

( name order -- c-enum )

( name type -- c-field )

( return-type name args -- c-function )

( name order -- c-struct )

( type name -- c-typedef )

( name order -- c-union )

( -- state )

?cursor-name

( cursor unnamed-type -- string )

?lookup-type

( type -- obj/f )

?unnamed

( string type -- string' ? )

arg-info

( cursor -- string )

cell-bytes

( -- n )

clang-get-cstring

( CXString -- string )

clang-get-file-max-range

( CXTranslationUnit path -- CXSourceRange )

clang-state>

( -- clang-state )

clang-tokenize

( CXTranslationUnit CXSourceRange -- tokens ntokens )

cursor-name

( cursor -- string )

cursor-type

( cursor -- string )

cursor-visitor

( -- callback )

cursor>args

( CXCursor -- args/f )

cursor>args-info

( CXCursor -- args-info )

cursor>c-field

( CXCursor -- )

cursor>c-function

( CXCursor -- )

cursor>c-struct

( CXCursor -- )

cursor>c-typedef

( CXCursor -- )

cursor>c-union

( CXCursor -- )

cursor>enum

( CXCursor -- )

cut-tail

( string quot -- before after )

cxprimitive-type>factor

( CXType -- string )

cxreturn-type>factor

( CXType -- string )

def>out-forms

( obj -- )

empty-struct?

( c-struct -- ? )

factor-type-name

( type -- type' )

get-tokens

( tokens ntokens -- tokens )

ignore-typedef?

( typedef -- ? )

lookup-order

( obj -- order/f )

lookup-unnamed

( type string -- type-name )

next-defs-counter

( libclang-state -- n )

next-out-forms-counter

( libclang-state -- n )

next-unnamed-counter

( libclang-state -- n )

out-form-name-written?

( string -- ? )

out-form-written?

( string -- ? )

parse-c-exports

( path -- )

parse-cpp-files

( path -- assoc )

parse-h-files

( path -- assoc )

parse-hpp-files

( path -- assoc )

parse-include

( path -- libclang-state )

peek-current-form

( -- n )

print-defers

( current-order slots -- )

ptr-array>array

( ptr c-type n -- array )

push-child-form

( form -- )

save-out-form

( string def -- )

set-definition

( named -- )

set-typedef

( typedef -- )

tokenize-path

( tu path -- tokens ntokens )

trim-blanks

( string -- string' )

unknown-child-forms

( order -- * )

unknown-form

( name -- * )

unnamed-exists?

( string -- value/key ? )

unnamed?

( string -- ? )

with-clang-cursor

( path quot: ( tu path cursor -- ) -- )

with-clang-default-translation-unit

( path quot: ( tu path -- ) -- )

with-clang-index

( quot: ( index -- ) -- )

with-clang-translation-unit

( idx source-file command-line-args nargs unsaved-files nunsaved-files options quot: ( tu -- ) -- )

with-cursor-tokens

( cursor quot: ( tu token -- obj ) -- seq )

with-new-form

( quot -- n )

write-c-defs

( clang-state -- )