c/clang:token kind
This commit is contained in:
@@ -1773,6 +1773,18 @@ func (c *TranslationUnit) Token(token Token) (ret String) {
|
||||
return c.wrapToken(&token)
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine the kind of the given token.
|
||||
*/
|
||||
// llgo:link (*Token).wrapKind C.wrap_clang_getTokenKind
|
||||
func (c *Token) wrapKind() (ret TokenKind) {
|
||||
return
|
||||
}
|
||||
|
||||
func (c Token) Kind() (ret TokenKind) {
|
||||
return c.wrapKind()
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the file, line, column, and offset represented by
|
||||
* the given source location.
|
||||
|
||||
Reference in New Issue
Block a user