Check out example codes for "antlr missing argument for lexer command 'channel'". It will help you in understanding the concepts better.

Code Example 1

/* missing argument for lexer command 'channel' */

// Use the correct sintax

-> channel('HIDDEN')  // X  WRONG

-> channel(HIDDEN)    // V  GOOD

Learn ReactJs, React Native from akashmittal.com