Rename AsteriskMatcher to TrueMatcher

This commit is contained in:
Kevin Sawicki
2013-04-18 17:29:39 -07:00
parent 6bda6e7644
commit 23fc73733f
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ class SegmentMatcher
matches: (scope) ->
scope is @segment
class AsteriskMatcher
class TrueMatcher
constructor: ->
matches: ->
@@ -69,7 +69,7 @@ class CompositeMatcher
module.exports = {
AndMatcher
AsteriskMatcher
TrueMatcher
CompositeMatcher
NegateMatcher
OrMatcher

View File

@@ -12,7 +12,7 @@ segment
}
/ _ scopeName:[\*] _ {
return new matchers.AsteriskMatcher();
return new matchers.TrueMatcher();
}
scope