EmbDoc
represents a multi-line comment.
the contents of the comment
def initialize(value:, location:) @value = value @location = location @leading = false @trailing = false endPublic Instance Methods Source
def ===(other) other.is_a?(EmbDoc) && value === other.value endSource
def accept(visitor) visitor.visit_embdoc(self) endSource
def copy(value: nil, location: nil) EmbDoc.new( value: value || self.value, location: location || self.location ) endSource
def deconstruct_keys(_keys) { value: value, location: location } endSource
def format(q) if (q.parent.is_a?(DefNode) && q.parent.endless?) || q.parent.is_a?(Statements) q.trim else q.breakable_return end q.text(value) endSource
def leading! @leading = true endSource
def leading? @leading endSource
def trailing! @trailing = true endSource
def trailing? @trailing end
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4