Skip to content

Commit 9b1dacc

Browse files
committed
Remove unused methods in Token
1 parent e636614 commit 9b1dacc

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/JsPhpize/Lexer/Token.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@ protected function isVarOperator()
5858
return in_array($this->type, array('delete', 'void', 'typeof'));
5959
}
6060

61-
protected function isOpener()
62-
{
63-
return in_array($this->type, array('{', '(', '['));
64-
}
65-
66-
protected function isCloser()
67-
{
68-
return in_array($this->type, array('}', ')', ']'));
69-
}
70-
7161
public function isAssignation()
7262
{
7363
return substr($this->type, -1) === '=' && !$this->isComparison();
@@ -88,11 +78,6 @@ public function expectNoLeftMember()
8878
return in_array($this->type, array('!', '~')) || $this->isVarOperator();
8979
}
9080

91-
protected function expectRightMember()
92-
{
93-
return $this->isOperator() || $this->isOpener();
94-
}
95-
9681
public function __get($key)
9782
{
9883
return isset($this->data[$key]) ? $this->data[$key] : null;

0 commit comments

Comments
 (0)