Esempio n. 1
0
        // Syntax
        public bool TryParseDirectiveNameSyntax(Lexer lexer, out DirectiveNameSyntax result)
        {
            if (
                this.TryParseIdentifierToken(lexer, new string[] { }, out var syntaxPart0))
            {
                result = new DirectiveNameSyntax(syntaxPart0);
                return(true);
            }

            result = null;
            return(false);
        }         // Parse method end
        public DirectiveContentsSyntax(DirectiveNameSyntax Identifier, DirectiveParameterSyntaxList DirectiveParameters)
        {
            this.Identifier = Identifier;

            this.DirectiveParameters = DirectiveParameters;
        }