Package com.slmn.antlr.MsonParser

Examples of com.slmn.antlr.MsonParser.ValueContext


  public void enterDomainValue(@NotNull DomainValueContext ctx) {
    DomainHeaderContext dhctx = (DomainHeaderContext) ctx.getChild(0);
    if (!(ctx.getChild(2) instanceof ValueContext)) {
      return;
    }
    ValueContext vc = (ValueContext) ctx.getChild(2);
    IdContext ic;
    IdArrayContext iac;
    if (vc.getChild(0) instanceof IdContext) {
      ic = (IdContext) vc.getChild(0);
    } else if (vc.getChild(0) instanceof IdArrayContext) {
      iac = (IdArrayContext) vc.getChild(0);
    } else {
      return;
    }
    ids.add(vc.getChild(0).getText());
  }
View Full Code Here

TOP

Related Classes of com.slmn.antlr.MsonParser.ValueContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.