Handbook
Glossary
clang-get-file-max-range ( CXTranslationUnit path -- CXSourceRange )
Vocabulary
libclang
Inputs
CXTranslationUnit
an
object
path
an
object
Outputs
CXSourceRange
an
object
Definition
USING:
accessors
io.files.info
kernel
libclang.ffi
;
IN:
libclang
:
clang-get-file-max-range
( CXTranslationUnit path -- CXSourceRange )
[
dupd
clang_getFile
0
clang_getLocationForOffset
]
[
dupd
[
clang_getFile
]
[
nip
file-info
size>>
]
2bi
clang_getLocationForOffset
]
2bi
clang_getRange
;