Examples of ElementReference


Examples of org.antlr.works.grammar.element.ElementReference

                List<ElementReference> references = candidate.getReferences();
                if(references == null)
                    continue;

                for(int index=references.size()-1; index>=0; index--) {
                    ElementReference ref = references.get(index);
                    if(ref.token.getAttribute().equals(ruleName)) {
                        mutator.replace(ref.token.getStartIndex(), ref.token.getEndIndex(), ruleContent);
                    }
                }
            }
View Full Code Here

Examples of org.eclipse.sapphire.ElementReference

   
    @Override
    protected void initReferenceService()
    {
        final Element element = context( Element.class );
        final ElementReference elementReferenceAnnotation = context( PropertyDef.class ).getAnnotation( ElementReference.class );
       
        this.list = (ElementList<?>) element.property( elementReferenceAnnotation.list() );
        this.key = elementReferenceAnnotation.key();
       
        super.initReferenceService();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.