Expr
ANTLR4: Expr
grammar Expr;
stat : assign;
assign : ID ’= ’ expr ’;’ ;
expr : INT ;
ID : [a-z]+ ;
INT : [0-9]+ ;
WS : [ \t \r \n ]+ -> skip ;
ANTLR4: contexto automático

ANTLR4: contexto automático (2)

ANTLR4: visitor

ANTLR4: listener


ANTLR4: atributos e acções
Last updated