Пример #1
0
        internal static void Percentage()
        {
            Energy.Base.Bracket bracket = new Energy.Base.Bracket("%");
            string example = @"Example %parameter1% %parameter2%%% %p:3> <a % % % ... end of example";

            Check(bracket, example);
        }
Пример #2
0
        internal static void Dollar()
        {
            Energy.Base.Bracket bracket = new Energy.Base.Bracket("${", "}");
            bracket.Include = "\\}";
            string example = @"Example $parameter1 ${parameter2} ${a}}} ${a {\} b}";

            Check(bracket, example);
        }
Пример #3
0
        internal static void Angle()
        {
            Energy.Base.Bracket bracket = new Energy.Base.Bracket("<>");
            bracket.Include = "";
            string example = @"Example <parameter1> <parameter2> <p:3> <a><b> <p>>q>";

            Check(bracket, example);
        }