Add signature to $scope.commands (#434)

* Add signature to $scope.commands

* Change signature command column name
This commit is contained in:
Jakub Žádník
2021-12-04 22:01:51 +02:00
committed by GitHub
parent ddd8c3d9dc
commit 71a8eb6f8e
2 changed files with 126 additions and 0 deletions

View File

@ -648,6 +648,10 @@ impl Value {
Value::Float { val, span }
}
pub fn boolean(val: bool, span: Span) -> Value {
Value::Bool { val, span }
}
// Only use these for test data. Span::unknown() should not be used in user data
pub fn test_string(s: impl Into<String>) -> Value {
Value::String {