MCPcopy Create free account
hub / github.com/arialang/aria / attribute

Method attribute

vm-lib/src/runtime_value/function.rs:78–83  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

76
77impl FunctionImpl {
78 pub(crate) fn attribute(&self) -> FunctionAttribute {
79 match self {
80 Self::BytecodeFunction(bc) => FunctionAttribute::from(bc.attrib_byte),
81 Self::BuiltinFunction(bf) => FunctionAttribute::from(bf.body.attrib_byte()),
82 }
83 }
84
85 pub(crate) fn line_table(&self) -> Option<&LineTable> {
86 match self {

Callers 4

evalMethod · 0.80
read_attributeMethod · 0.80
varargsMethod · 0.80
evalMethod · 0.80

Calls 1

attrib_byteMethod · 0.45

Tested by

no test coverage detected