Class Parser

    • Constructor Detail

      • Parser

        public Parser​(Tokenizer tokenizer)
    • Method Detail

      • isES6Class

        public boolean isES6Class()
      • parse

        public Node parse()
      • parseImport

        protected ImportNode parseImport()
      • expect

        protected boolean expect​(boolean assertion)
      • skip

        protected void skip​(boolean b)
      • match

        protected boolean match​(char c)
      • matchOperator

        protected boolean matchOperator​(String val)
      • matchKeyword

        protected boolean matchKeyword​(String val)
      • matchClassKeyword

        protected boolean matchClassKeyword​(String val)
      • matchIgnoreWhitespace

        protected boolean matchIgnoreWhitespace​(TokenType type,
                                                String val)
      • match

        protected boolean match​(TokenType type)
      • currToken

        protected Token currToken()
      • nextToken

        protected void nextToken()