Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
```
❯ find ./ -type f -print | xargs grep 'create_token'
.//lib/lrama/grammar.rb:    def create_token(type, s_value, line, column)
```
  • Loading branch information
ydah committed Oct 23, 2023
1 parent 34bdb03 commit ddd51b1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/lrama/grammar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -482,14 +482,6 @@ def extract_references
end
end

def create_token(type, s_value, line, column)
t = Token.new(type: type, s_value: s_value)
t.line = line
t.column = column

return t
end

private

def find_nterm_by_id!(id)
Expand Down

0 comments on commit ddd51b1

Please sign in to comment.