
constants and statics are nullary functions, and struct fields are unary functions. functions (along with methods and trait methods) are prioritized over other items, like fields and constants.
7 lines
171 B
JavaScript
7 lines
171 B
JavaScript
const EXPECTED = {
|
|
'query': '-> char',
|
|
'others': [
|
|
{ 'path': 'std::char', 'name': 'from_digit' },
|
|
{ 'path': 'std::char', 'name': 'MAX' },
|
|
],
|
|
}
|