introduce constant class and add block to compile signature(wip, work in progress)
This commit is contained in:
@ -22,7 +22,7 @@ require 'parslet/pattern'
|
||||
#
|
||||
# class Example < Parslet::Transform
|
||||
# rule(:string => simple(:x)) { # (1)
|
||||
# StringLiteral.new(x)
|
||||
# StringConstant.new(x)
|
||||
# }
|
||||
# end
|
||||
#
|
||||
|
Reference in New Issue
Block a user