Module: Babl::Operators::Typed::DSL

Included in:
Template
Defined in:
lib/babl/operators/typed.rb

Instance Method Summary collapse

Instance Method Details

#booleanObject



20
21
22
# File 'lib/babl/operators/typed.rb', line 20

def boolean
    construct_terminal { Nodes::Typed::Boolean.instance }
end

#integerObject



8
9
10
# File 'lib/babl/operators/typed.rb', line 8

def integer
    construct_terminal { Nodes::Typed::Integer.instance }
end

#numberObject



12
13
14
# File 'lib/babl/operators/typed.rb', line 12

def number
    construct_terminal { Nodes::Typed::Number.instance }
end

#stringObject



16
17
18
# File 'lib/babl/operators/typed.rb', line 16

def string
    construct_terminal { Nodes::Typed::String.instance }
end