public override BaseSchemaMember VisitFile_identifier_decl([NotNull] FlatBuffersParser.File_identifier_declContext context) { var top = this.parseStack.Peek(); ErrorContext.Current.WithScope(top.FullName, () => { FileIdentifierDefinition def = (FileIdentifierDefinition) new FileIdentifierVisitor(top).Visit(context); top.AddChild(def); }); return(null); }
public override object VisitFile_identifier_decl([NotNull] FlatBuffersParser.File_identifier_declContext context) { FileIdentifier = context.STRING_CONSTANT()?.GetText()?.Trim('"')?.Trim(); fileIdDef = new FileIdentifierDefinition(FileIdentifier, parent); return(fileIdDef); }