public override void ExitVostruct([NotNull] XSharpParser.VostructContext context) { if (_options.Dialect != XSharpDialect.VO && _options.Dialect != XSharpDialect.Vulcan) { NotInDialect(context, "VOSTRUCT"); } }
public override void EnterVostruct([NotNull] XSharpParser.VostructContext context) { var tokens = context.Modifiers?._Tokens; XType newStruct = new XType(context.Id.GetText(), Kind.VOStruct, decodeModifiers(tokens), decodeVisibility(tokens), new TextRange(context), new TextInterval(context)); // // Todo additional properties ? newStruct.NameSpace = decodeNamespace(context.Namespace, currentNamespace); newStruct.IsStatic = isStatic(tokens); newStruct = addType(newStruct); pushType(newStruct); }
public override void ExitVostruct([NotNull] XSharpParser.VostructContext context) { TagRegion(context, context.ChildCount - 1); }
public override void ExitVostruct([NotNull] XSharpParser.VostructContext context) { popType(); }