class Crystal::Macros::AsmOperand

Overview

An output or input operand for an Asm node.

Every operand node is equivalent to:

{{ node.constraint }}({{ node.exp }})

Defined in:

compiler/crystal/macros.cr

Instance Method Summary

Instance Method Detail

def constraint : StringLiteral #

Returns the constraint string of this operand.


[View source]
def exp : ASTNode #

Returns the associated output or input argument of this operand.


[View source]