public Token peek ( ) { if ( scopes . isEmpty ( ) ) { return null ; } else { Token token = scopes . get ( scopes . size ( ) - 1 ) ; return token ; } }
Gets the top element from the stack without removing it .