| activatable | = | true |
DefaultSyntax is the instance all syntactical macros in the system are derived from.
Mimics
Inactive cells
Active cells
- argumentsCode()
- arity()
- call(+[arguments])
- code()
- expand(+[arguments])
- formattedCode()
- inspect()
- message()
- name()
- notice()
Specs
Inactive cells (details)
Active cells (details)
returns the code for the argument definition
DefaultSyntax argumentsCode
- - should validate type of receiver
[ show source ]
syntax should checkReceiverTypeOn(:argumentsCode)
returns the full code of this syntax, as a Text
DefaultSyntax code
- - should validate type of receiver
[ show source ]
syntax should checkReceiverTypeOn(:code)
returns the result of activating this syntax without actually doing the replacement or execution part.
DefaultSyntax expand
- - should validate type of receiver
[ show source ]
syntax should checkReceiverTypeOn(:expand)
returns idiomatically formatted code for this syntax
DefaultSyntax formattedCode
- - should validate type of receiver
[ show source ]
syntax should checkReceiverTypeOn(:formattedCode)
Returns a text inspection of the object
DefaultSyntax inspect
- - should validate type of receiver
[ show source ]
syntax should checkReceiverTypeOn(:inspect)
returns the message chain for this syntax
DefaultSyntax message
- - should validate type of receiver
[ show source ]
syntax should checkReceiverTypeOn(:message)
returns the name of the syntax
DefaultSyntax name
- - should validate type of receiver
[ show source ]
syntax should checkReceiverTypeOn(:name)
Returns a brief text inspection of the object
DefaultSyntax notice
- - should validate type of receiver
[ show source ]
syntax should checkReceiverTypeOn(:notice)