Exemplo n.º 1
0
        public override Verb CreateVerb(string[] tokens)
        {
            Color(position, tokens[1].Length, IDEColor.EntityType.Whitespace);
            string visibility = tokens[2];

            Color(visibility.Length, IDEColor.EntityType.Verb);
            string scope = tokens[3];

            ClassParser.SetScopeAndVisibility(scope, visibility, this);
            Color(scope.Length, IDEColor.EntityType.Verb);
            string messageName = tokens[4];

            Color(messageName.Length, IDEColor.EntityType.Variable);
            Color(tokens[5].Length, IDEColor.EntityType.Verb);
            Builder.AddAbstractMessage(messageName, this);
            return(new NullOp());
        }