Class: Jade::Frontend::PatternAnalysis::Literal

Inherits:
Data
  • Object
show all
Defined in:
lib/jade/frontend/pattern_analysis.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



12
13
14
# File 'lib/jade/frontend/pattern_analysis.rb', line 12

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



12
13
14
# File 'lib/jade/frontend/pattern_analysis.rb', line 12

def value
  @value
end

Instance Method Details

#to_sObject



14
# File 'lib/jade/frontend/pattern_analysis.rb', line 14

def to_s; value.inspect; end

#wildcard?Boolean

Returns:

  • (Boolean)


13
# File 'lib/jade/frontend/pattern_analysis.rb', line 13

def wildcard?; false; end