Class ScopeParser

java.lang.Object
org.antlr.v4.parse.ScopeParser

public class ScopeParser extends Object
Parse args, return values, locals

rule[arg1, arg2, ..., argN] returns [ret1, ..., retN]

text is target language dependent. Java/C#/C/C++ would use "int i" but ruby/python would use "i". Languages with postfix types like Go, Swift use "x : T" notation or "T x".

  • Constructor Details

    • ScopeParser

      public ScopeParser()
  • Method Details